Table of Contents
Interfaces
- AccessibleTask
Methods
-
createFromArray()
: static
-
createFromId()
: AccessibleItem
-
createFromRequest()
: static
-
createFromTaskItem()
: TaskModel
-
createNew()
: static
-
getChecklist()
: array<string|int, mixed>
-
getFlowId()
: int
-
getGroup()
: array<string|int, mixed>|null
-
getGroupId()
: int
-
getId()
: int
-
getMembers()
: array<string|int, mixed>
-
getStatus()
: int|null
-
getUserRoles()
: array<string|int, mixed>
-
invalidateCache()
: void
-
isAllowedChangeDeadline()
: bool
-
isAllowedTimeTracking()
: bool
-
isClosed()
: bool
-
isDeleted()
: bool
-
isFavorite()
: bool
-
isInDepartment()
: bool
-
isMember()
: bool
-
setFlowId()
: $this
-
setGroupId()
: $this
-
setId()
: $this
-
setMembers()
: $this
-
setStatus()
: $this
createFromArray()
public
static createFromArray(array<string|int, mixed> $data[, array<string|int, mixed> $default = [] ]) : static
Parameters
-
$data
: array<string|int, mixed>
-
-
$default
: array<string|int, mixed>
= []
-
createFromId()
public
static createFromId(int $taskId) : AccessibleItem
Parameters
-
$taskId
: int
-
createFromRequest()
public
static createFromRequest(array<string|int, mixed> $request) : static
Parameters
-
$request
: array<string|int, mixed>
-
createFromTaskItem()
public
static createFromTaskItem(Task $item) : TaskModel
Parameters
-
$item
: Task
-
createNew()
public
static createNew([int $groupId = 0 ]) : static
Parameters
-
$groupId
: int
= 0
-
getChecklist()
public
getChecklist() : array<string|int, mixed>
-
throws
-
ArgumentException
-
throws
-
NotImplementedException
-
throws
-
SystemException
Return values
array<string|int, mixed>
getFlowId()
public
getFlowId() : int
getGroup()
public
getGroup() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getGroupId()
public
getGroupId() : int
getId()
public
getId() : int
getMembers()
public
getMembers([string|null $role = null ]) : array<string|int, mixed>
Parameters
-
$role
: string|null
= null
-
Return values
array<string|int, mixed>
getStatus()
public
getStatus() : int|null
getUserRoles()
public
getUserRoles(int $userId) : array<string|int, mixed>
Parameters
-
$userId
: int
-
Return values
array<string|int, mixed>
invalidateCache()
public
static invalidateCache(int $taskId) : void
Parameters
-
$taskId
: int
-
isAllowedChangeDeadline()
public
isAllowedChangeDeadline() : bool
isAllowedTimeTracking()
public
isAllowedTimeTracking() : bool
isClosed()
public
isClosed() : bool
isDeleted()
public
isDeleted() : bool
isFavorite()
public
isFavorite(int $userId) : bool
Parameters
-
$userId
: int
-
isInDepartment()
public
isInDepartment(int $userId[, bool $recursive = false ][, array<string|int, mixed> $roles = [] ]) : bool
Parameters
-
$userId
: int
-
-
$recursive
: bool
= false
-
-
$roles
: array<string|int, mixed>
= []
-
isMember()
public
isMember(int $userId[, string|null $role = null ]) : bool
Parameters
-
$userId
: int
-
-
$role
: string|null
= null
-
setFlowId()
public
setFlowId(int $value) : $this
Parameters
-
$value
: int
-
setGroupId()
public
setGroupId(int $groupId) : $this
Parameters
-
$groupId
: int
-
setId()
public
setId(int $id) : $this
Parameters
-
$id
: int
-
setMembers()
public
setMembers(array<string|int, mixed> $members) : $this
Parameters
-
$members
: array<string|int, mixed>
-
setStatus()
public
setStatus(int $value) : $this
Parameters
-
$value
: int
-