You are here

function CMISService::getObjectParents in CMIS API 6.3

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

File

cmis_common/lib/cmis_repository_wrapper.php, line 488

Class

CMISService

Code

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

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

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