function CMISService::createDocument in CMIS API 7
Same name and namespace in other branches
- 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::createDocument()
- 6.3 cmis_common/lib/cmis_repository_wrapper.php \CMISService::createDocument()
File
- cmis_common/
lib/ cmis_repository_wrapper.php, line 859
Class
Code
function createDocument($folderId, $fileName, $properties = array(), $content = null, $content_type = "application/octet-stream", $options = array()) {
// Yes
return $this
->postObject($folderId, $fileName, "cmis:document", $properties, $content, $content_type, $options);
}