original_string: static public function removeByAttribute( $objectAttributeID, $objectAttributeVersion = null )
      {
          if ( !is_numeric( $objectAttributeID ) )
              return;
  
          $conditions = array( 'objectattribute_id' => (int) $objectAttributeID );
          if ( is_numeric( $objectAttributeVersion ) )
              $conditions['objectattribute_version'] = (int) $objectAttributeVersion;
  
          parent::removeObject( self::definition(), $conditions );
      }
code: static public function removeByAttribute( $objectAttributeID, $objectAttributeVersion = null )
      {
          if ( !is_numeric( $objectAttributeID ) )
              return;
  
          $conditions = array( 'objectattribute_id' => (int) $objectAttributeID );
          if ( is_numeric( $objectAttributeVersion ) )
              $conditions['objectattribute_version'] = (int) $objectAttributeVersion;
  
          parent::removeObject( self::definition(), $conditions );
      }
code_tokens: static public function removeByAttribute ( $ objectAttributeID , $ objectAttributeVersion = null ) { if ( ! is_numeric ( $ objectAttributeID ) ) return ; $ conditions = array ( 'objectattribute_id' => ( int ) $ objectAttributeID ) ; if ( is_numeric ( $ objectAttributeVersion ) ) $ conditions [ 'objectattribute_version' ] = ( int ) $ objectAttributeVersion ; parent :: removeObject ( self :: definition ( ) , $ conditions ) ; }
docstring: Removes the objects from persistence which are related to content object attribute
  defined by attribute ID and attribute version
  
  @static
  
  @param int $objectAttributeID
  @param int|null $objectAttributeVersion
docstring_tokens: Removes the objects from persistence which are related to content object attribute defined by attribute ID and attribute version