You are here

function CMISService::createDocument in CMIS API 6.3

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

File

cmis_common/lib/cmis_repository_wrapper.php, line 742

Class

CMISService

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