Table of Contents
Interfaces
- AccessibleTask
Constants
-
ROLE_OWNER
= 'OWNER'
Methods
-
createFromArray()
: AccessibleItem
-
createFromId()
: AccessibleItem
-
createNew()
: static
-
getChecklist()
: array<string|int, mixed>
-
getDescription()
: string
-
getGroupId()
: int
-
getId()
: int
-
getMembers()
: array<string|int, mixed>
-
getStatus()
: int|null
-
getTemplatePermission()
: int
-
getUserRoles()
: array<string|int, mixed>
-
invalidateCache()
: mixed
-
isClosed()
: bool
-
isDeleted()
: bool
-
isInDepartment()
: bool
-
isMember()
: bool
-
isRegular()
: bool
-
setGroupId()
: $this
-
setId()
: $this
-
setMembers()
: $this
-
setRegular()
: bool
ROLE_OWNER
public
mixed
ROLE_OWNER
= 'OWNER'
createFromArray()
public
static createFromArray(array<string|int, mixed> $fields) : AccessibleItem
Parameters
-
$fields
: array<string|int, mixed>
-
createFromId()
public
static createFromId(int $id) : AccessibleItem
Parameters
-
$id
: int
-
createNew()
public
static createNew() : static
getChecklist()
public
getChecklist() : array<string|int, mixed>
-
throws
-
ArgumentException
-
throws
-
NotImplementedException
-
throws
-
SystemException
Return values
array<string|int, mixed>
getDescription()
public
getDescription() : string
getGroupId()
public
getGroupId() : int
getId()
public
getId() : int
getMembers()
public
getMembers([string|null $role = null ]) : array<string|int, mixed>
Parameters
-
$role
: string|null
= null
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
Return values
array<string|int, mixed>
getStatus()
public
getStatus() : int|null
getTemplatePermission()
public
getTemplatePermission(AccessibleUser $user, mixed $permissionId) : int
Parameters
-
$user
: AccessibleUser
-
-
$permissionId
: mixed
-
getUserRoles()
public
getUserRoles(int $userId) : array<string|int, mixed>
Parameters
-
$userId
: int
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
Return values
array<string|int, mixed>
invalidateCache()
public
static invalidateCache(int $templateId) : mixed
Parameters
-
$templateId
: int
-
isClosed()
public
isClosed() : bool
isDeleted()
public
isDeleted() : bool
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
-
isRegular()
public
isRegular() : bool
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
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>
-
setRegular()
public
setRegular(bool $value) : bool
Parameters
-
$value
: bool
-