You are here

function CMISService::setContentStream in CMIS API 6.3

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

File

cmis_common/lib/cmis_repository_wrapper.php, line 816

Class

CMISService

Code

function setContentStream($objectId, $content, $content_type, $options = array()) {

  //Yes
  $myURL = $this
    ->getLink($objectId, "edit-media");
  $ret = $this
    ->doPut($myURL, $content, $content_type);
}