original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: put the option enabled of ezcomcomment into  data_int of contentobjectattribute
  
  @see kernel/classes/eZDataType#fetchObjectAttributeHTTPInput($http, $base, $objectAttribute)
docstring_tokens: put the option enabled of ezcomcomment into data_int of contentobjectattribute