IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

MoveResource Method

Moves one resource to a new location.

Object Oriented Interface

public function doMoveResource($sourceresourceuri, $destinationresourceuri);

Procedural Interface

ipworks_webdav_do_moveresource($res, $sourceresourceuri, $destinationresourceuri);

Remarks

The MoveResource method will move the resource indicated by SourceResourceURI to a new location under the resource indicated by DestinationResourceURI.

This method is associated with the Depth property. If Depth is set to "0", the class will move only SourceResourceURI. If Depth is set to "infinity", the class will move SourceResourceURI and its entire subtree to locations relative to it.

If the user has acquired a LockResource of infinite depth on either DestinationResourceURI or any collection it is under, SourceResourceURI will be added to that lock.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0