classes/ezfindelevateconfiguration.php
public static function purge( $queryString = '' , $objectID = null, $languageCode = null )
    {
        // check that some conditions were passed
        if ( $queryString === '' and $objectID === null and $languageCode === null )
            return false;

        if ( $queryString !== '' )
            $conds['search_query'] = $queryString;

        if ( $objectID !== null )
            $conds['contentobject_id'] = $objectID;

        if ( $languageCode !== null )
            $conds['language_code'] = $languageCode;

        return parent::removeObject( self::definition(), $conds );
    }
public static function purge( $queryString = '' , $objectID = null, $languageCode = null )
    {
        // check that some conditions were passed
        if ( $queryString === '' and $objectID === null and $languageCode === null )
            return false;

        if ( $queryString !== '' )
            $conds['search_query'] = $queryString;

        if ( $objectID !== null )
            $conds['contentobject_id'] = $objectID;

        if ( $languageCode !== null )
            $conds['language_code'] = $languageCode;

        return parent::removeObject( self::definition(), $conds );
    }
public static function purge ( $ queryString = '' , $ objectID = null , $ languageCode = null ) { // check that some conditions were passed if ( $ queryString === '' and $ objectID === null and $ languageCode === null ) return false ; if ( $ queryString !== '' ) $ conds [ 'search_query' ] = $ queryString ; if ( $ objectID !== null ) $ conds [ 'contentobject_id' ] = $ objectID ; if ( $ languageCode !== null ) $ conds [ 'language_code' ] = $ languageCode ; return parent :: removeObject ( self :: definition ( ) , $ conds ) ; }
Purges the configuration rows for a given query string, a given object, or both.

@param string $queryString Query string for which elevate configuration is removed
@param int $objectID Content object for which the elevate configuration is removed
@param string $languageCode Language code for which the elevate configuration is removed. Defaults to 'all languages'
Purges the configuration rows for a given query string a given object or both .