function CMISService::getLink in CMIS API 7
Same name and namespace in other branches
- 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getLink()
- 6.3 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getLink()
11 calls to CMISService::getLink()
- CMISService::deleteContentStream in cmis_common/
lib/ cmis_repository_wrapper.php - CMISService::deleteObject in cmis_common/
lib/ cmis_repository_wrapper.php - CMISService::getChildren in cmis_common/
lib/ cmis_repository_wrapper.php - CMISService::getContentStream in cmis_common/
lib/ cmis_repository_wrapper.php - CMISService::getFolderParent in cmis_common/
lib/ cmis_repository_wrapper.php
File
- cmis_common/
lib/ cmis_repository_wrapper.php, line 501
Class
Code
function getLink($objectId, $linkName) {
if (array_key_exists($objectId, $this->_link_cache)) {
return $this->_link_cache[$objectId][$linkName];
}
$obj = $this
->getObject($objectId);
return $obj->links[$linkName];
}