function CMISService::getObject in CMIS API 7
Same name and namespace in other branches
- 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getObject()
- 6.3 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getObject()
4 calls to CMISService::getObject()
- CMISService::getLink in cmis_common/
lib/ cmis_repository_wrapper.php - CMISService::getObjectType in cmis_common/
lib/ cmis_repository_wrapper.php - CMISService::getProperties in cmis_common/
lib/ cmis_repository_wrapper.php - CMISService::getTitle in cmis_common/
lib/ cmis_repository_wrapper.php
File
- cmis_common/
lib/ cmis_repository_wrapper.php, line 771
Class
Code
function getObject($objectId, $options = array()) {
$varmap = $options;
$varmap["id"] = $objectId;
$obj_url = $this
->processTemplate($this->workspace->uritemplates['objectbyid'], $varmap);
$ret = $this
->doGet($obj_url);
$obj = $this
->extractObject($ret->body);
$this
->cacheEntryInfo($obj);
return $obj;
}