You are here

function CMISService::getLink in CMIS API 7

Same name and namespace in other branches
  1. 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getLink()
  2. 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

... See full list

File

cmis_common/lib/cmis_repository_wrapper.php, line 501

Class

CMISService

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];
}