kernel/content/ezcontentoperationcollection.php
static public function moveNode( $nodeID, $objectID, $newParentNodeID )
    {
       if( !eZContentObjectTreeNodeOperations::move( $nodeID, $newParentNodeID ) )
       {
           eZDebug::writeError( "Failed to move node $nodeID as child of parent node $newParentNodeID",
                                __METHOD__ );

           return array( 'status' => false );
       }

       eZContentObject::fixReverseRelations( $objectID, 'move' );

        if ( !eZSearch::getEngine() instanceof eZSearchEngine )
        {
            eZContentOperationCollection::registerSearchObject( $objectID );
        }

       return array( 'status' => true );
    }
static public function moveNode( $nodeID, $objectID, $newParentNodeID )
    {
       if( !eZContentObjectTreeNodeOperations::move( $nodeID, $newParentNodeID ) )
       {
           eZDebug::writeError( "Failed to move node $nodeID as child of parent node $newParentNodeID",
                                __METHOD__ );

           return array( 'status' => false );
       }

       eZContentObject::fixReverseRelations( $objectID, 'move' );

        if ( !eZSearch::getEngine() instanceof eZSearchEngine )
        {
            eZContentOperationCollection::registerSearchObject( $objectID );
        }

       return array( 'status' => true );
    }
static public function moveNode ( $ nodeID , $ objectID , $ newParentNodeID ) { if ( ! eZContentObjectTreeNodeOperations :: move ( $ nodeID , $ newParentNodeID ) ) { eZDebug :: writeError ( "Failed to move node $nodeID as child of parent node $newParentNodeID" , __METHOD__ ) ; return array ( 'status' => false ) ; } eZContentObject :: fixReverseRelations ( $ objectID , 'move' ) ; if ( ! eZSearch :: getEngine ( ) instanceof eZSearchEngine ) { eZContentOperationCollection :: registerSearchObject ( $ objectID ) ; } return array ( 'status' => true ) ; }
Moves a node

@param int $nodeID
@param int $objectID
@param int $newParentNodeID

@return array An array with operation status, always true
Moves a node