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.

peopleApiActions()

peopleApiActions(\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

Returns

\Psr\Http\Message\ResponseInterface

usersActions()

usersActions(\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

\Exception
\Pydio\Core\Exception\UserNotFoundException

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

search()

search(\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

Returns

\Psr\Http\Message\ResponseInterface

recursiveSearchGroups()

recursiveSearchGroups(\Pydio\Core\Model\ContextInterface  $ctx, \Pydio\Access\Core\Model\NodesList  $nodesList, string  $baseGroup, string  $term, integer  $offset = -1, integer  $limit = -1) 

Parameters

\Pydio\Core\Model\ContextInterface $ctx
\Pydio\Access\Core\Model\NodesList $nodesList
string $baseGroup
string $term
integer $offset
integer $limit

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

serializeGroupMetadata()

serializeGroupMetadata(string  $groupId, string  $groupLabel) : array

Parameters

string $groupId
string $groupLabel

Returns

array

getUserIfAuthorized()

getUserIfAuthorized(\Pydio\Core\Model\ContextInterface  $ctx, string  $userId, boolean  $checkExists = true) : \Pydio\Core\Model\UserInterface

Parameters

\Pydio\Core\Model\ContextInterface $ctx
string $userId
boolean $checkExists

Throws

\Pydio\Core\Exception\PydioException

Returns

\Pydio\Core\Model\UserInterface

serializeUserMetadata()

serializeUserMetadata(\Pydio\Core\Model\UserInterface  $userObject, string  $format, array  $messages,   $connections = array()) : array

Parameters

\Pydio\Core\Model\UserInterface $userObject
string $format
array $messages
$connections

Returns

array

filterReservedRoles()

filterReservedRoles(  $key) : boolean

Do not display AJXP_GRP_/ and AJXP_USR_/ roles if not in server debug mode

Parameters

$key

Returns

boolean

updateUserRole()

updateUserRole(\Pydio\Core\Model\UserInterface  $ctxUser,   $userId,   $roleId,   $addOrRemove, boolean  $updateSubUsers = false) : \Pydio\Core\Model\UserInterface

Parameters

\Pydio\Core\Model\UserInterface $ctxUser
$userId
$roleId
$addOrRemove
boolean $updateSubUsers

Throws

\Pydio\Core\Exception\UserNotFoundException
\Pydio\Core\Exception\PydioException

Returns

\Pydio\Core\Model\UserInterface