include/externalAPI/cmis_repository_wrapper.php
Constants
\CMISRepositoryWrapper
Package:
- Children
- \CMISService
Properties


$namespaces= 'array (
"cmis" => "http://docs.oasis-open.org/ns/cmis/core/200908/",
"cmisra" => "http://docs.oasis-open.org/ns/cmis/restatom/200908/",
"atom" => "http://www.w3.org/2005/Atom",
"app" => "http://www.w3.org/2007/app",
)'
static
Default value
array (
"cmis" => "http://docs.oasis-open.org/ns/cmis/core/200908/",
"cmisra" => "http://docs.oasis-open.org/ns/cmis/restatom/200908/",
"atom" => "http://www.w3.org/2005/Atom",
"app" => "http://www.w3.org/2007/app",
)
Details- Type
- n/a
Methods


__construct(
$url, $username
=
null, $password
=
null, $options
=
null, $addlCurlOptions
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$username | ||
$password | ||
$options | ||
$addlCurlOptions |


connect(
$url, $username, $password, $options
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$username | ||
$password | ||
$options |


doPost(
$url, $content, $contentType, $charset
=
null
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$content | ||
$contentType | ||
$charset |


doPut(
$url, $content, $contentType, $charset
=
null
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$content | ||
$contentType | ||
$charset |


doRequest(
$url, $method
=
"GET", $content
=
null, $contentType
=
null, $charset
=
null
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$method | ||
$content | ||
$contentType | ||
$charset |


doXQueryFromNode(
$xmlnode, $xquery
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$xmlnode | ||
$xquery |
\CMISService
Package:
- Parent(s)
- \CMISRepositoryWrapper
Properties


$_addlCurlOptions= 'array()'
inheritedInherited from:
\CMISRepositoryWrapper::$$_addlCurlOptions
Default value
array()
Details- Type
- n/a
- Inherited_from
- \CMISRepositoryWrapper::$$_addlCurlOptions


$authenticated= ''
inheritedInherited from:
\CMISRepositoryWrapper::$$authenticated
Details
- Type
- n/a
- Inherited_from
- \CMISRepositoryWrapper::$$authenticated


$do_not_urlencode= ''
inheritedInherited from:
\CMISRepositoryWrapper::$$do_not_urlencode
Details
- Type
- n/a
- Inherited_from
- \CMISRepositoryWrapper::$$do_not_urlencode


$last_request= ''
inheritedInherited from:
\CMISRepositoryWrapper::$$last_request
Details
- Type
- n/a
- Inherited_from
- \CMISRepositoryWrapper::$$last_request


$namespaces= 'array (
"cmis" => "http://docs.oasis-open.org/ns/cmis/core/200908/",
"cmisra" => "http://docs.oasis-open.org/ns/cmis/restatom/200908/",
"atom" => "http://www.w3.org/2005/Atom",
"app" => "http://www.w3.org/2007/app",
)'
Default value
array (
"cmis" => "http://docs.oasis-open.org/ns/cmis/core/200908/",
"cmisra" => "http://docs.oasis-open.org/ns/cmis/restatom/200908/",
"atom" => "http://www.w3.org/2005/Atom",
"app" => "http://www.w3.org/2007/app",
)
Details- Type
- n/a
- Inherited_from
- \CMISRepositoryWrapper::$$namespaces


$password= ''
inheritedInherited from:
\CMISRepositoryWrapper::$$password
Details
- Type
- n/a
- Inherited_from
- \CMISRepositoryWrapper::$$password


$url= ''
inheritedInherited from:
\CMISRepositoryWrapper::$$url
Details
- Type
- n/a
- Inherited_from
- \CMISRepositoryWrapper::$$url


$username= ''
inheritedInherited from:
\CMISRepositoryWrapper::$$username
Details
- Type
- n/a
- Inherited_from
- \CMISRepositoryWrapper::$$username


$workspace= ''
inheritedInherited from:
\CMISRepositoryWrapper::$$workspace
Details
- Type
- n/a
- Inherited_from
- \CMISRepositoryWrapper::$$workspace
Methods


__construct(
$url, $username, $password, $options
=
null, $addlCurlOptions
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$username | ||
$password | ||
$options | ||
$addlCurlOptions |


connect(
$url, $username, $password, $options
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::connect()
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$username | ||
$password | ||
$options |


convertStatusCode(
$code, $message
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::convertStatusCode()
Parameters
Name | Type | Description |
---|---|---|
$code | ||
$message |


createAtomEntry(
$name, $properties
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$name | ||
$properties |


createDocument(
$folderId, $fileName, $properties
=
array (), $content
=
null, $content_type
=
"application/octet-stream", $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$folderId | ||
$fileName | ||
$properties | ||
$content | ||
$content_type | ||
$options |


createFolder(
$folderId, $folderName, $properties
=
array (), $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$folderId | ||
$folderName | ||
$properties | ||
$options |


deleteContentStream(
$objectId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$options |


deleteObject(
$objectId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$options |


doDelete(
$url
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::doDelete()
Parameters
Name | Type | Description |
---|---|---|
$url |


doGet(
$url
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::doGet()
Parameters
Name | Type | Description |
---|---|---|
$url |


doPost(
$url, $content, $contentType, $charset
=
null
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::doPost()
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$content | ||
$contentType | ||
$charset |


doPut(
$url, $content, $contentType, $charset
=
null
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::doPut()
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$content | ||
$contentType | ||
$charset |


doRequest(
$url, $method
=
"GET", $content
=
null, $contentType
=
null, $charset
=
null
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::doRequest()
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$method | ||
$content | ||
$contentType | ||
$charset |


getAllowableActions(
$objectId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$options |


getChildren(
$folderId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$folderId | ||
$options |


getContentEntry(
$content, $content_type
=
"application/octet-stream"
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$content | ||
$content_type |


getContentStream(
$objectId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$options |


getDescendants(
$folderId, $depth, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$folderId | ||
$depth | ||
$options |


getFolderParent(
$folderId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$folderId | ||
$options |


getFolderTree(
$folderId, $depth, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$folderId | ||
$depth | ||
$options |


getLastRequestContentLength(
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::getLastRequestContentLength()


getLastRequestContentSent(
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::getLastRequestContentSent()


getLastRequestContentType(
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::getLastRequestContentType()


getLastRequestContentTypeSent(
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::getLastRequestContentTypeSent()


getLastRequestMethod(
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::getLastRequestMethod()


getObject(
$objectId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$options |


getObjectByPath(
$path, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$path | ||
$options |


getObjectOfLatestVersion(
$objectId, $major
=
false, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$major | ||
$options |


getObjectParents(
$objectId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$options |


getProperties(
$objectId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$options |


getPropertiesOfLatestVersion(
$objectId, $major
=
false, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$major | ||
$options |


getRenditions(
$objectId, $options
=
array (
OPT_RENDITION_FILTER => "*"
)
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$options |


getTypeChildren(
$typeId
=
null, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$typeId | ||
$options |


getTypeDefinition(
$typeId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$typeId | ||
$options |


getTypeDescendants(
$typeId
=
null, $depth, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$typeId | ||
$depth | ||
$options |


handleSpaces(
$path
)
:
void
inherited
Inherited from:
\CMISRepositoryWrapper::handleSpaces()
Parameters
Name | Type | Description |
---|---|---|
$path |


moveObject(
$objectId, $targetFolderId, $sourceFolderId, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$targetFolderId | ||
$sourceFolderId | ||
$options |


postObject(
$folderId, $objectName, $objectType, $properties
=
array (), $content
=
null, $content_type
=
"application/octet-stream", $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$folderId | ||
$objectName | ||
$objectType | ||
$properties | ||
$content | ||
$content_type | ||
$options |


processPropertyTemplates(
$objectType, $propMap
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectType | ||
$propMap |


processTemplate(
$template, $values
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$template | ||
$values |


query(
$statement, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$statement | ||
$options |


setContentStream(
$objectId, $content, $content_type, $options
=
array ()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectId | ||
$content | ||
$content_type | ||
$options |
\CmisConstraintException
Package:
- Parent(s)
- \Exception
\CmisInvalidArgumentException
Package:
- Parent(s)
- \Exception
\CmisNotSupportedException
Package:
- Parent(s)
- \Exception
\CmisObjectNotFoundException
Package:
- Parent(s)
- \Exception
\CmisPermissionDeniedException
Package:
- Parent(s)
- \Exception
\CmisRuntimeException
Package:
- Parent(s)
- \Exception