function CMISService::setContentStream in CMIS API 7
Same name and namespace in other branches
- 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::setContentStream()
- 6.3 cmis_common/lib/cmis_repository_wrapper.php \CMISService::setContentStream()
File
- cmis_common/lib/ cmis_repository_wrapper.php, line 941 
Class
Code
function setContentStream($objectId, $content, $content_type, $options = array()) {
  //Yes
  $myURL = $this
    ->getLink($objectId, "edit-media");
  $ret = $this
    ->doPut($myURL, $content, $content_type);
}