You are here

function CMISService::getContentStream in CMIS API 7

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

File

cmis_common/lib/cmis_repository_wrapper.php, line 806

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