Methods

getGroupPath()

getGroupPath() : String

Returns

String

setGroupPath()

setGroupPath(String  $groupPath, boolean  $update = true) : void

Parameters

String $groupPath
boolean $update

Save use after setting groupPath

setHidden()

setHidden(boolean  $hidden) 

Parameters

boolean $hidden

isHidden()

isHidden() : boolean

Returns

boolean

getId()

getId() : string

Returns

string

setId()

setId(string  $id) 

Parameters

string $id

storageExists()

storageExists() : boolean

Returns

boolean

removeRole()

removeRole(string  $roleId) 

Parameters

string $roleId

Throws

\Exception

updateRolesOrder()

updateRolesOrder(  $orderedRolesIds) 

Parameters

$orderedRolesIds

array of roles ids

getProfile()

getProfile() : string

Returns

string

setProfile()

setProfile(string  $profile) 

Parameters

string $profile

setLock()

setLock(string  $lockAction) 

Parameters

string $lockAction

Throws

\Exception

removeLock()

removeLock(  $lockAction) 

Parameters

$lockAction

Throws

\Exception

hasLockByName()

hasLockByName(  $lockAction) : string|false

Parameters

$lockAction

Returns

string|false

getLock()

getLock() : string|false

Returns

string|false

isAdmin()

isAdmin() : boolean

Returns

boolean

setAdmin()

setAdmin(boolean  $boolean) 

Parameters

boolean $boolean

hasParent()

hasParent() : boolean

Returns

boolean —

Whether the user has a parent or not

setParent()

setParent(string  $user) 

Parameters

string $user

A user ID

getParent()

getParent() : string

Returns

string —

Returns the ID of the parent user

canRead()

canRead(string  $repositoryId) : boolean

Parameters

string $repositoryId

Returns

boolean

canWrite()

canWrite(string  $repositoryId) : boolean

Parameters

string $repositoryId

Returns

boolean

canAccessRepository()

canAccessRepository(\Pydio\Core\Model\RepositoryInterface|string  $idOrObject) : boolean

Parameters

\Pydio\Core\Model\RepositoryInterface|string $idOrObject

Returns

boolean

canSwitchTo()

canSwitchTo(integer  $repositoryId) : boolean

Test if user can switch to this repository

Parameters

integer $repositoryId

Returns

boolean

getPref()

getPref(  $prefName) : mixed|string

Parameters

$prefName

Returns

mixed|string

setPref()

setPref(  $prefName,   $prefValue) 

Parameters

$prefName
$prefValue

setArrayPref()

setArrayPref(string  $prefName, string  $prefPath, mixed  $prefValue) 

Parameters

string $prefName
string $prefPath
mixed $prefValue

getArrayPref()

getArrayPref(  $prefName,   $prefPath) : mixed|string

Parameters

$prefName
$prefPath

Returns

mixed|string

addBookmark()

addBookmark(  $repositoryId, string  $path, string  $title) : 

Parameters

$repositoryId
string $path
string $title

Returns

removeBookmark()

removeBookmark(string  $repositoryId, string  $path) 

Parameters

string $repositoryId
string $path

renameBookmark()

renameBookmark(string  $repositoryId, string  $path, string  $title) 

Parameters

string $repositoryId
string $path
string $title

getBookmarks()

getBookmarks(  $repositoryId) : array

Parameters

$repositoryId

Returns

array

canAdministrate()

canAdministrate(\Pydio\Conf\Core\IGroupPathProvider  $provider) : boolean

Check if the current user can administrate the GroupPathProvider object

Parameters

\Pydio\Conf\Core\IGroupPathProvider $provider

Returns

boolean

canSee()

canSee(\Pydio\Conf\Core\IGroupPathProvider  $provider) : boolean

Check if the current user can assign administration for the GroupPathProvider object

Parameters

\Pydio\Conf\Core\IGroupPathProvider $provider

Returns

boolean

getRealGroupPath()

getRealGroupPath(  $baseGroup) : string

Automatically set the group to the current user base

Parameters

$baseGroup

Returns

string

load()

load() : mixed

Returns

mixed

save()

save(string  $context = "superuser") 

Parameters

string $context

getTemporaryData()

getTemporaryData(string  $key) : mixed

Parameters

string $key

Returns

mixed

saveTemporaryData()

saveTemporaryData(string  $key, mixed  $value) : mixed

Parameters

string $key
mixed $value

Returns

mixed

recomputeMergedRole()

recomputeMergedRole() 

Rebuild the current merged role

Throws

\Exception

reloadRolesIfRequired()

reloadRolesIfRequired() : boolean

Throws

\Exception

Returns

boolean

getRolesKeys()

getRolesKeys() : array

Returns

array