original_string: 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' ) );
      }
code: 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' ) );
      }
code_tokens: 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' ) ) ; }
docstring: Update search index when two nodes are swapped
  
  @param int $nodeID
  @param int $selectedNodeID
  @param array $nodeIdList
docstring_tokens: Update search index when two nodes are swapped