datatypes/ezcomcomments/ezcomcommentstype.php
function fetchObjectAttributeHTTPInput( $http, $base, $contentObjectAttribute )
    {
        $enabledName = $base . '_ezcomcomments_enabled_' . $contentObjectAttribute->attribute( 'id' );
        $shownName = $base . '_ezcomcomments_shown_' . $contentObjectAttribute->attribute( 'id' );
        $enabledValue = -1;
        $shownValue = -1;
        if ( $http->hasPostVariable( $enabledName ) )
        {
            $enabledValue = 1;
        }
        if ( $http->hasPostVariable( $shownName ) )
        {
            $shownValue = 1;
        }
        $contentObjectAttribute->setAttribute( 'data_float', $shownValue );
        $contentObjectAttribute->setAttribute( 'data_int', $enabledValue );
        return true;
    }
function fetchObjectAttributeHTTPInput( $http, $base, $contentObjectAttribute )
    {
        $enabledName = $base . '_ezcomcomments_enabled_' . $contentObjectAttribute->attribute( 'id' );
        $shownName = $base . '_ezcomcomments_shown_' . $contentObjectAttribute->attribute( 'id' );
        $enabledValue = -1;
        $shownValue = -1;
        if ( $http->hasPostVariable( $enabledName ) )
        {
            $enabledValue = 1;
        }
        if ( $http->hasPostVariable( $shownName ) )
        {
            $shownValue = 1;
        }
        $contentObjectAttribute->setAttribute( 'data_float', $shownValue );
        $contentObjectAttribute->setAttribute( 'data_int', $enabledValue );
        return true;
    }
function fetchObjectAttributeHTTPInput ( $ http , $ base , $ contentObjectAttribute ) { $ enabledName = $ base . '_ezcomcomments_enabled_' . $ contentObjectAttribute -> attribute ( 'id' ) ; $ shownName = $ base . '_ezcomcomments_shown_' . $ contentObjectAttribute -> attribute ( 'id' ) ; $ enabledValue = - 1 ; $ shownValue = - 1 ; if ( $ http -> hasPostVariable ( $ enabledName ) ) { $ enabledValue = 1 ; } if ( $ http -> hasPostVariable ( $ shownName ) ) { $ shownValue = 1 ; } $ contentObjectAttribute -> setAttribute ( 'data_float' , $ shownValue ) ; $ contentObjectAttribute -> setAttribute ( 'data_int' , $ enabledValue ) ; return true ; }
put the option enabled of ezcomcomment into  data_int of contentobjectattribute

@see kernel/classes/eZDataType#fetchObjectAttributeHTTPInput($http, $base, $objectAttribute)
put the option enabled of ezcomcomment into data_int of contentobjectattribute