Table of Contents
Interfaces
- AccessibleUser
Constants
-
ACCESS_USER
= 'U'
Methods
-
createFromId()
: static
-
getAccessCodes()
: array<string|int, mixed>
-
getId()
: mixed
-
getName()
: string
-
getPermission()
: int|null
-
getRoles()
: array<string|int, mixed>
-
getSubordinate()
: int
-
getUserDepartments()
: array<string|int, mixed>
-
getUserId()
: int
-
isAdmin()
: bool
-
setUserId()
: AccessibleUser
-
useRecentlyMaskId()
: mixed
ACCESS_USER
public
mixed
ACCESS_USER
= 'U'
createFromId()
public
static createFromId(int $userId) : static
Parameters
-
$userId
: int
-
getAccessCodes()
public
getAccessCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>
getId()
public
getId() : mixed
getName()
public
getName() : string
getPermission()
public
getPermission(string $permissionId[, int $userFieldId = 0 ]) : int|null
Parameters
-
$permissionId
: string
-
-
$userFieldId
: int
= 0
-
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
setUserId()
public
setUserId(int $userId) : AccessibleUser
Parameters
-
$userId
: int
-
useRecentlyMaskId()
public
useRecentlyMaskId(mixed $id) : mixed
Parameters
-
$id
: mixed
-