You are here

function CMISService::getFolderParent in CMIS API 6.4

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

File

cmis_common/lib/cmis_repository_wrapper.php, line 479

Class

CMISService

Code

function getFolderParent($objectId, $options = array()) {

  //yes
  $myURL = $this
    ->getLink($objectId, "up");

  //TODO: Need GenURLQueryString Utility
  $ret = $this
    ->doGet($myURL);
  $obj = $this
    ->extractObjectFeed($ret->body);
  $this
    ->cacheEntryInfo($obj);
  return $obj;
}