Method |
Description |
|
getAccessibleWorkspaceNames ( ) : array |
Returns the workspace names that can be used when logging in. |
|
getAutoLastModified ( ) : boolean |
Get the auto last modified flag. |
|
getBinaryStream ( string $path ) : resource |
Retrieve a stream of a binary property value |
|
getFetchDepth ( ) : integer |
Returns the current fetchDepth |
|
getNamespaces ( ) : array |
Get the registered namespaces mappings from the backend. |
|
getNode ( string $path ) : array |
Get the node from an absolute path |
|
getNodeByIdentifier ( string $uuid ) : array |
Get the node from a uuid. Same data format as getNode, but additionally
must have the :jcr:path property. |
|
getNodePathForIdentifier ( string $uuid, string $workspace = null ) : string |
Get the node path from a JCR uuid. This is mainly useful for
cross-workspace functionality like clone or updateFrom. |
|
getNodeTypes ( $nodeTypes = [] ) : array |
Get node types, either filtered or all. |
|
getNodes ( array $paths ) : array |
Get the nodes from an array of absolute paths. |
|
getNodesByIdentifier ( array $identifiers ) : array |
Get the nodes from an array of uuid. |
|
getProperty ( string $path ) : stdClass |
Get the property stored at an absolute path. |
|
getReferences ( string $path, string $name = null ) : array |
Returns the path of all accessible REFERENCE properties in the workspace
that point to the node |
|
getRepositoryDescriptors ( ) : array |
Get all repository descriptors |
|
getWeakReferences ( string $path, string $name = null ) : array |
Returns the path of all accessible WEAKREFERENCE properties in the
workspace that point to the node |
|
login ( PHPCR\CredentialsInterface $credentials = null, string $workspaceName = null ) : string |
Set this transport to a specific credential and a workspace. |
|
logout ( ) |
Releases all resources associated with this Session. |
|
setAutoLastModified ( boolean $autoLastModified ) |
Set whether to automatically update nodes having mix:lastModified. |
|
setFetchDepth ( integer $depth ) |
Sets the depth with which a transport should fetch childnodes
If depth = 0 it only fetches the requested node
If depth = 1 it also fetches its children
If depth = 2 it also fetches its children and grandchildren
and so on |
|
setNodeTypeManager ( NodeTypeManager $nodeTypeManager ) |
Pass the node type manager into the transport to be used for validation
and such. |
|