You are here

function CMISService::getChildren in CMIS API 7

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

File

cmis_common/lib/cmis_repository_wrapper.php, line 559

Class

CMISService

Code

function getChildren($objectId, $options = array()) {
  $myURL = $this
    ->getLink($objectId, "down");
  if (count($options) > 0) {
    $myURL .= '&' . urldecode(http_build_query($options));
  }
  $ret = $this
    ->doGet($myURL);
  $objs = $this
    ->extractObjectFeed($ret->body);
  $this
    ->cacheFeedInfo($objs);
  return $objs;
}