TaskManager
Table of Contents
Constants
-
TASKS_FILTER_FIELD
= 'tasks'
-
TASKS_FILTER_HAS_TASKS_VALUE
= 'has_tasks'
-
TASKS_FILTER_NO_TASKS_VALUE
= 'no_tasks'
Methods
-
__construct()
: mixed
-
countTypeStageRobots()
: int
-
getIncompleteItemTasks()
: array<string|int, mixed>
-
getItemFaces()
: array<string|int, mixed>
-
getItemTaskParticipants()
: array<string|int, mixed>
-
getTaskById()
: array<string|int, mixed>|null
-
getTaskUsers()
: array<string|int, mixed>
-
getTimelineTasks()
: array<string|int, mixed>
-
getTypeStageTasks()
: array<string|int, mixed>
-
getUserIncompleteTasksByType()
: array<string|int, mixed>
-
getUserIncompleteTasksForType()
: array<string|int, mixed>
-
getUserItemIncompleteCounter()
: int
-
getUserTotalIncompleteCounter()
: int
-
onItemStageUpdate()
: bool
-
onTaskPropertiesChanged()
: void
TASKS_FILTER_FIELD
public
mixed
TASKS_FILTER_FIELD
= 'tasks'
TASKS_FILTER_HAS_TASKS_VALUE
public
mixed
TASKS_FILTER_HAS_TASKS_VALUE
= 'has_tasks'
TASKS_FILTER_NO_TASKS_VALUE
public
mixed
TASKS_FILTER_NO_TASKS_VALUE
= 'no_tasks'
__construct()
public
__construct() : mixed
countTypeStageRobots()
public
countTypeStageRobots(int $typeId, int $stageId) : int
Parameters
-
$typeId
: int
-
-
$stageId
: int
-
getIncompleteItemTasks()
public
getIncompleteItemTasks(Item $item[, int $userId = null ]) : array<string|int, mixed>
Parameters
-
$item
: Item
-
-
$userId
: int
= null
-
Return values
array<string|int, mixed>
getItemFaces()
public
getItemFaces(int $typeId, int $itemId) : array<string|int, mixed>
Parameters
-
$typeId
: int
-
-
$itemId
: int
-
Return values
array<string|int, mixed>
getItemTaskParticipants()
public
getItemTaskParticipants(Item $item[, int $taskUserStatus = null ]) : array<string|int, mixed>
Parameters
-
$item
: Item
-
-
$taskUserStatus
: int
= null
-
Return values
array<string|int, mixed>
getTaskById()
public
getTaskById(int $taskId) : array<string|int, mixed>|null
Parameters
-
$taskId
: int
-
Return values
array<string|int, mixed>|null
getTaskUsers()
public
getTaskUsers(int $taskId) : array<string|int, mixed>
Parameters
-
$taskId
: int
-
Return values
array<string|int, mixed>
getTimelineTasks()
public
getTimelineTasks(Item $item[, mixed $userId = null ]) : array<string|int, mixed>
Parameters
-
$item
: Item
-
-
$userId
: mixed
= null
-
Return values
array<string|int, mixed>
getTypeStageTasks()
public
getTypeStageTasks(int $typeId, int $stageId) : array<string|int, mixed>
Parameters
-
$typeId
: int
-
-
$stageId
: int
-
Return values
array<string|int, mixed>
getUserIncompleteTasksByType()
public
getUserIncompleteTasksByType([array<string|int, mixed> $typeIds = [] ][, int $userId = null ]) : array<string|int, mixed>
Parameters
-
$typeIds
: array<string|int, mixed>
= []
-
-
$userId
: int
= null
-
Return values
array<string|int, mixed>
getUserIncompleteTasksForType()
public
getUserIncompleteTasksForType(int $typeId[, int $userId = null ]) : array<string|int, mixed>
Parameters
-
$typeId
: int
-
-
$userId
: int
= null
-
Return values
array<string|int, mixed>
getUserItemIncompleteCounter()
public
getUserItemIncompleteCounter(Item $item[, int $userId = null ]) : int
Parameters
-
$item
: Item
-
-
$userId
: int
= null
-
getUserTotalIncompleteCounter()
public
getUserTotalIncompleteCounter([int $userId = null ]) : int
Parameters
-
$userId
: int
= null
-
onItemStageUpdate()
public
onItemStageUpdate(Item $item, int $stageId, int $userId) : bool
Parameters
-
$item
: Item
-
-
$stageId
: int
-
-
$userId
: int
-
onTaskPropertiesChanged()
public
onTaskPropertiesChanged(array<string|int, mixed> $documentType, int $templateId, array<string|int, mixed> $robotData) : void
Parameters
-
$documentType
: array<string|int, mixed>
-
-
$templateId
: int
-
-
$robotData
: array<string|int, mixed>
-