kernel/classes/ezsearch.php
public static function swapNode( $nodeID, $selectedNodeID, $nodeIdList = array() )
    {
        $searchEngine = eZSearch::getEngine();

        if ( $searchEngine instanceof ezpSearchEngine && method_exists( $searchEngine, 'swapNode' ) )
        {
            return $searchEngine->swapNode( $nodeID, $selectedNodeID, $nodeIdList = array() );
        }

        return false;
    }
public static function swapNode( $nodeID, $selectedNodeID, $nodeIdList = array() )
    {
        $searchEngine = eZSearch::getEngine();

        if ( $searchEngine instanceof ezpSearchEngine && method_exists( $searchEngine, 'swapNode' ) )
        {
            return $searchEngine->swapNode( $nodeID, $selectedNodeID, $nodeIdList = array() );
        }

        return false;
    }
public static function swapNode ( $ nodeID , $ selectedNodeID , $ nodeIdList = array ( ) ) { $ searchEngine = eZSearch :: getEngine ( ) ; if ( $ searchEngine instanceof ezpSearchEngine && method_exists ( $ searchEngine , 'swapNode' ) ) { return $ searchEngine -> swapNode ( $ nodeID , $ selectedNodeID , $ nodeIdList = array ( ) ) ; } return false ; }
Notifies search engine about an swap node operation

@since 4.1
@param int $nodeID
@param int $selectedNodeID
@param array $nodeIdList
@return false|mixed False in case method is undefined, otherwise return the result of the search engine call
Notifies search engine about an swap node operation