Table of Contents
Methods
-
createFromId()
: static
-
getAccessCodes()
: array<string|int, mixed>
-
getName()
: string
-
getPermission()
: int|null
-
getRoles()
: array<string|int, mixed>
-
getSubordinate()
: int
-
getUserDepartments()
: array<string|int, mixed>
-
getUserId()
: int
-
isAdmin()
: bool
-
isCollaber()
: bool
-
isExtranet()
: bool
-
isIntranet()
: bool
-
isMember()
: bool
-
setUserId()
: AccessibleUser
createFromId()
public
static createFromId(int $userId) : static
Parameters
-
$userId
: int
-
getAccessCodes()
public
getAccessCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>
getName()
public
getName() : string
getPermission()
public
getPermission(string $permissionId) : int|null
Parameters
-
$permissionId
: string
-
getRoles()
public
getRoles() : array<string|int, mixed>
Return values
array<string|int, mixed>
getSubordinate()
public
getSubordinate(int $userId) : int
Parameters
-
$userId
: int
-
getUserDepartments()
public
getUserDepartments() : array<string|int, mixed>
Return values
array<string|int, mixed>
getUserId()
public
getUserId() : int
isAdmin()
public
isAdmin() : bool
isCollaber()
public
isCollaber() : bool
public
isExtranet() : bool
isIntranet()
public
isIntranet() : bool
isMember()
public
isMember(int $groupId) : bool
Parameters
-
$groupId
: int
-
setUserId()
public
setUserId(int $userId) : AccessibleUser
Parameters
-
$userId
: int
-