You are here

function CMISService::getContentStream in CMIS API 6.3

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

File

cmis_common/lib/cmis_repository_wrapper.php, line 692

Class

CMISService

Code

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

  // Yes
  $myURL = $this
    ->getLink($objectId, "edit-media");
  $ret = $this
    ->doGet($myURL);

  // doRequest stores the last request information in this object
  return $ret->body;
}