static function removeByObjectId( $contentobjectID, $contentobjectAttributeId = null )
    {
        $cond = array( 'contentobject_id' => $contentobjectID );
        if ( $contentobjectAttributeId !== null )
        {
            $cond['contentobject_attribute_id'] = $contentobjectAttributeId;
        }
        eZPersistentObject::removeObject( self::definition(), $cond );
    }
static function removeByObjectId( $contentobjectID, $contentobjectAttributeId = null )
    {
        $cond = array( 'contentobject_id' => $contentobjectID );
        if ( $contentobjectAttributeId !== null )
        {
            $cond['contentobject_attribute_id'] = $contentobjectAttributeId;
        }
        eZPersistentObject::removeObject( self::definition(), $cond );
    }
static function removeByObjectId ( $ contentobjectID , $ contentobjectAttributeId = null ) { $ cond = array ( 'contentobject_id' => $ contentobjectID ) ; if ( $ contentobjectAttributeId !== null ) { $ cond [ 'contentobject_attribute_id' ] = $ contentobjectAttributeId ; } eZPersistentObject :: removeObject ( self :: definition ( ) , $ cond ) ; }
Remove rating data by content object id and optionally attribute id.

@param int $contentobjectID
@param int $contentobjectAttributeId
Remove rating data by content object id and optionally attribute id .