Properties

$bookmarks

$bookmarks : array

Type

array

$pluginName

$pluginName : string

Type

string

$listSpecialRoles

$listSpecialRoles : boolean

Type

boolean

$mainTree

$mainTree : array

Type

array

$currentBookmarks

$currentBookmarks : array

Type

array

Methods

__construct()

__construct(\Pydio\Core\Model\ContextInterface  $ctx, string  $pluginName, array  $mainTree) 

TreeManager constructor.

Parameters

\Pydio\Core\Model\ContextInterface $ctx
string $pluginName
array $mainTree

listNodes()

listNodes(array|\Psr\Http\Message\ServerRequestInterface  $requestInterface, string  $rootPath, string  $relativePath, string  $paginationHash = null, string  $findNodePosition = null, string  $aliasedDir = null) : \Pydio\Access\Core\Model\NodesList

Parameters

array|\Psr\Http\Message\ServerRequestInterface $requestInterface

Full set of query parameters

string $rootPath

Path to prepend to the resulting nodes

string $relativePath

Specific path part for this function

string $paginationHash

Number added to url#2 for pagination purpose.

string $findNodePosition

Path to a given node to try to find it

string $aliasedDir

Aliased path used for alternative url

Returns

\Pydio\Access\Core\Model\NodesList

A populated NodesList object, eventually recursive.

dispatchList()

dispatchList(\Psr\Http\Message\ServerRequestInterface  $requestInterface) : \Pydio\Access\Core\Model\NodesList

Parameters

\Psr\Http\Message\ServerRequestInterface $requestInterface

Returns

\Pydio\Access\Core\Model\NodesList

currentUserIsGroupAdmin()

currentUserIsGroupAdmin() : boolean

Returns

boolean

getBookmarks()

getBookmarks() : array

Returns

array

appendBookmarkMeta()

appendBookmarkMeta(string  $nodePath, array  $meta) 

Parameters

string $nodePath
array $meta

parseParameters()

parseParameters(\Pydio\Core\Model\ContextInterface  $ctx,   $repDef,   $options, boolean  $globalBinaries = false, array  $existingValues = array()) 

Parameters

\Pydio\Core\Model\ContextInterface $ctx
$repDef
$options
boolean $globalBinaries
array $existingValues

mergeExistingParameters()

mergeExistingParameters(array  $parsed, array  $existing) 

Parameters

array $parsed
array $existing

getEditableParameters()

getEditableParameters(\Pydio\Core\Model\ContextInterface  $ctx,   $currentUserIsGroupAdmin, boolean  $withLabel = false) : array

Parameters

\Pydio\Core\Model\ContextInterface $ctx
$currentUserIsGroupAdmin
boolean $withLabel

Returns

array

forwardToManagers()

forwardToManagers(\Psr\Http\Message\ServerRequestInterface  $requestInterface,   $childData,   $initialPath,   $rootSegment,   $otherSegments,   $hashValue) : \Pydio\Access\Core\Model\NodesList

Forward call to dedicated managers, must implement AbstractManager

Parameters

\Psr\Http\Message\ServerRequestInterface $requestInterface
$childData
$initialPath
$rootSegment
$otherSegments
$hashValue

Returns

\Pydio\Access\Core\Model\NodesList

appendNodeFromTree()

appendNodeFromTree(\Pydio\Access\Core\Model\NodesList  $nodesList,   $path,   $data,   $messages) 

Render a bookmark node

Parameters

\Pydio\Access\Core\Model\NodesList $nodesList
$path
$data
$messages