function CMISService::moveObject in CMIS API 6.3
Same name and namespace in other branches
- 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::moveObject()
- 7 cmis_common/lib/cmis_repository_wrapper.php \CMISService::moveObject()
File
- cmis_common/
lib/ cmis_repository_wrapper.php, line 799
Class
Code
function moveObject($objectId, $targetFolderId, $sourceFolderId, $options = array()) {
//yes
$options['sourceFolderId'] = $sourceFolderId;
return $this
->postObject($targetFolderId, $this
->getTitle($objectId), $this
->getObjectType($objectId), array(
"cmis:objectId" => $objectId,
), null, null, $options);
}