You are here

function cmisapi_createDocument in CMIS API 6.4

Same name and namespace in other branches
  1. 6 cmis.api.inc \cmisapi_createDocument()
  2. 6.2 cmis.api.inc \cmisapi_createDocument()
  3. 6.3 cmis.api.inc \cmisapi_createDocument()
  4. 7.2 cmis.api.inc \cmisapi_createDocument()
  5. 7 cmis.api.inc \cmisapi_createDocument()
2 calls to cmisapi_createDocument()
_cmis_browser_actions_content_create in cmis_browser/cmis_browser.content_create.inc
Create $content_name under $parent_folder folder.
_cmis_sync_drupal_cmis_update in cmis_sync/cmis_sync.drupal.inc
Handles Drupal to CMIS updates.

File

./cmis.api.inc, line 75
CMIS 0.5 client implementation

Code

function cmisapi_createDocument($repositoryId, $folderId, $fileName, $properties = array(), $content = null, $contentType = "application/octet-stream", $options = array()) {
  return cmis_vendor_invoke('createDocument', $repositoryId, $folderId, $fileName, $properties, $content, $contentType, $options);
}