AccessibleTask extends AccessibleItem
Table of Contents
Methods
- createFromId() : AccessibleItem
- getGroupId() : int
- getId() : int
- getMembers() : array<string|int, mixed>
- getStatus() : int|null
- isClosed() : bool
- isDeleted() : bool
- isInDepartment() : bool
Methods
createFromId()
public
static createFromId(int $itemId) : AccessibleItem
Parameters
- $itemId : int
Return values
AccessibleItemgetGroupId()
public
getGroupId() : int
Return values
intgetId()
public
getId() : int
Return values
intgetMembers()
public
getMembers([string $role = null ]) : array<string|int, mixed>
Parameters
- $role : string = null
Return values
array<string|int, mixed>getStatus()
public
getStatus() : int|null
Return values
int|nullisClosed()
public
isClosed() : bool
Return values
boolisDeleted()
public
isDeleted() : bool
Return values
boolisInDepartment()
public
isInDepartment(int $userId[, bool $recursive = false ][, array<string|int, mixed> $roles = [] ]) : bool
Parameters
- $userId : int
- $recursive : bool = false
- $roles : array<string|int, mixed> = []