kernel/classes/ezsearch.php
public static function updateNodeVisibility( $nodeID, $action )
    {
        $searchEngine = eZSearch::getEngine();

        if ( $searchEngine instanceof ezpSearchEngine && method_exists( $searchEngine, 'updateNodeVisibility' ) )
        {
            return $searchEngine->updateNodeVisibility( $nodeID, $action );
        }

        return false;
    }
public static function updateNodeVisibility( $nodeID, $action )
    {
        $searchEngine = eZSearch::getEngine();

        if ( $searchEngine instanceof ezpSearchEngine && method_exists( $searchEngine, 'updateNodeVisibility' ) )
        {
            return $searchEngine->updateNodeVisibility( $nodeID, $action );
        }

        return false;
    }
public static function updateNodeVisibility ( $ nodeID , $ action ) { $ searchEngine = eZSearch :: getEngine ( ) ; if ( $ searchEngine instanceof ezpSearchEngine && method_exists ( $ searchEngine , 'updateNodeVisibility' ) ) { return $ searchEngine -> updateNodeVisibility ( $ nodeID , $ action ) ; } return false ; }
Notifies search engine about node visibility changes

@since 4.1
@param int $nodeID
@param string $action "hide" or "show"
@return false|mixed False in case method is undefined, otherwise return the result of the search engine call
Notifies search engine about node visibility changes