You are here

function CMISService::getPropertyType in CMIS API 7

Same name and namespace in other branches
  1. 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getPropertyType()
  2. 6.3 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getPropertyType()

File

cmis_common/lib/cmis_repository_wrapper.php, line 478

Class

CMISService

Code

function getPropertyType($typeId, $propertyId) {
  if (!empty($this->_type_cache[$typeId])) {
    return $this->_type_cache[$typeId]->properties[$propertyId]["cmis:propertyType"];
  }
  $obj = $this
    ->getTypeDefinition($typeId);
  return $obj->properties[$propertyId]["cmis:propertyType"];
}