Properties

$bookmarks

$bookmarks : array

Type

array

$pluginName

$pluginName : string

Type

string

$listSpecialRoles

$listSpecialRoles : boolean

Type

boolean

Methods

__construct()

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

Manager constructor.

Parameters

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

listNodes()

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

Parameters

\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.

repositoriesActions()

repositoriesActions(\Psr\Http\Message\ServerRequestInterface  $requestInterface, \Psr\Http\Message\ResponseInterface  $responseInterface) : \Psr\Http\Message\ResponseInterface

Parameters

\Psr\Http\Message\ServerRequestInterface $requestInterface
\Psr\Http\Message\ResponseInterface $responseInterface

Throws

\Pydio\Core\Exception\PydioException
\Exception

Returns

\Psr\Http\Message\ResponseInterface

delete()

delete(\Psr\Http\Message\ServerRequestInterface  $requestInterface, \Psr\Http\Message\ResponseInterface  $responseInterface) : \Psr\Http\Message\ResponseInterface

Parameters

\Psr\Http\Message\ServerRequestInterface $requestInterface
\Psr\Http\Message\ResponseInterface $responseInterface

Throws

\Pydio\Core\Exception\PydioException

Returns

\Psr\Http\Message\ResponseInterface

repositoryExists()

repositoryExists(  $name) : boolean

Parameters

$name

Returns

boolean

metaSourceOrderingFunction()

metaSourceOrderingFunction(  $key1,   $key2) : integer

Reorder meta sources

Parameters

$key1
$key2

Returns

integer

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

getDriverLabel()

getDriverLabel(  $pluginId,   $labels) : mixed|string

Get label for an access.* plugin

Parameters

$pluginId
$labels

Returns

mixed|string

serializeRepositoryToJSON()

serializeRepositoryToJSON(\Pydio\Core\Model\ContextInterface  $ctx, \Pydio\Core\Model\RepositoryInterface  $repository, array  $definitions, string  $currentAdminBasePath) : array

Parameters

\Pydio\Core\Model\ContextInterface $ctx
\Pydio\Core\Model\RepositoryInterface $repository
array $definitions
string $currentAdminBasePath

Returns

array

serializeRepositoryToXML()

serializeRepositoryToXML(\Pydio\Core\Model\ContextInterface  $ctx, \Pydio\Core\Model\RepositoryInterface  $repository, array  $definitions, string  $currentAdminBasePath) : string

Parameters

\Pydio\Core\Model\ContextInterface $ctx
\Pydio\Core\Model\RepositoryInterface $repository
array $definitions
string $currentAdminBasePath

Returns

string

xmlServerParamsToArray()

xmlServerParamsToArray(string  $xmlParamsString) : array

Parameters

string $xmlParamsString

Returns

array

availableDriversToXML()

availableDriversToXML(string  $filterByTagName = "", string  $filterByDriverName = "", boolean  $limitToEnabledPlugins = false) : string

Search the manifests declaring ajxpdriver as their root node. Remove ajxp_* drivers

Parameters

string $filterByTagName
string $filterByDriverName
boolean $limitToEnabledPlugins

Returns

string