function CMISService::moveObject in CMIS API 6.4
Same name and namespace in other branches
- 6.3 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);
}