function CMISService::getObjectByPath in CMIS API 6.3
Same name and namespace in other branches
- 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getObjectByPath()
- 7 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getObjectByPath()
File
- cmis_common/
lib/ cmis_repository_wrapper.php, line 667
Class
Code
function getObjectByPath($path, $options = array()) {
$varmap = $options;
$varmap["path"] = $path;
$obj_url = $this
->processTemplate($this->workspace->uritemplates['objectbypath'], $varmap);
$ret = $this
->doGet($obj_url);
$obj = $this
->extractObject($ret->body);
$this
->cacheEntryInfo($obj);
return $obj;
}