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