function CMISService::getTypeDefinition in CMIS API 6.3
Same name and namespace in other branches
- 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getTypeDefinition()
- 7 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getTypeDefinition()
1 call to CMISService::getTypeDefinition()
- CMISService::getPropertyType in cmis_common/
lib/ cmis_repository_wrapper.php
File
- cmis_common/
lib/ cmis_repository_wrapper.php, line 444
Class
Code
function getTypeDefinition($typeId, $options = array()) {
// Nice to have
$varmap = $options;
$varmap["id"] = $typeId;
$myURL = $this
->processTemplate($this->workspace->uritemplates['typebyid'], $varmap);
$ret = $this
->doGet($myURL);
$obj = $this
->extractTypeDef($ret->body);
$this
->cacheTypeInfo($obj);
return $obj;
}