public function swapNode( $nodeID, $selectedNodeID, $nodeIdList = array() )
    {
        $contentObject1 = eZContentObject::fetchByNodeID( $nodeID );
        $contentObject2 = eZContentObject::fetchByNodeID( $selectedNodeID );

        eZContentOperationCollection::registerSearchObject( $contentObject1->attribute( 'id' ) );
        eZContentOperationCollection::registerSearchObject( $contentObject2->attribute( 'id' ) );
    }
public function swapNode( $nodeID, $selectedNodeID, $nodeIdList = array() )
    {
        $contentObject1 = eZContentObject::fetchByNodeID( $nodeID );
        $contentObject2 = eZContentObject::fetchByNodeID( $selectedNodeID );

        eZContentOperationCollection::registerSearchObject( $contentObject1->attribute( 'id' ) );
        eZContentOperationCollection::registerSearchObject( $contentObject2->attribute( 'id' ) );
    }
public function swapNode ( $ nodeID , $ selectedNodeID , $ nodeIdList = array ( ) ) { $ contentObject1 = eZContentObject :: fetchByNodeID ( $ nodeID ) ; $ contentObject2 = eZContentObject :: fetchByNodeID ( $ selectedNodeID ) ; eZContentOperationCollection :: registerSearchObject ( $ contentObject1 -> attribute ( 'id' ) ) ; eZContentOperationCollection :: registerSearchObject ( $ contentObject2 -> attribute ( 'id' ) ) ; }
Update search index when two nodes are swapped

@param int $nodeID
@param int $selectedNodeID
@param array $nodeIdList
Update search index when two nodes are swapped