Метод |
Описание |
|
add ( array $taskData ) : array |
add new task |
|
approve ( $taskId ) : array |
Change status of task waiting for confirmation to Completed. |
|
complete ( $taskId ) : array |
Change status to Completed or Supposedly completed (requires creator's attention). |
|
defer ( $taskId ) : array |
Change task status to Deferred |
|
delegate ( $taskId, $userId ) : array |
Delegate task to a user. |
|
delete ( $taskId ) : array |
Delete task. |
|
disapprove ( $taskId ) : array |
Change status of task waiting for confirmation to Pending. |
|
getAllowedActions ( $taskId ) : array |
Return array of allowed task actions IDs (see PHP class constants CTaskItem). |
|
getAllowedTaskActionsAsStrings ( $taskId ) : array |
Return an array whose keys are acton names (the names correspond to PHP class constants CTaskItem) and values show whether the action is allowed (true) or not allowed (false). |
|
getData ( $taskId ) : array |
Return array of task data fields (TITLE, DESCRIPTION, etc.) |
|
getDependSon ( $taskId ) : array |
Return array with parent task IDs |
|
getDescription ( $taskId, $format ) : array |
Return task description. |
|
getFiles ( $taskId ) : array |
Return array of links to files attached to the task. |
|
getManifest ( ) : array |
get all methods and fields of B24 entity CTaskItem. Only for information! |
|
isActionAllowed ( $taskId, $actionId ) : array |
Return true if action is allowed, else returns false. |
|
renew ( $taskId ) : array |
Change status to Pending. |
|
startExecution ( $taskId ) : array |
Change task status to In Progress |
|
update ( $taskId, $taskData ) : array |
Update task data. The following fields may be updated. Business logic and permissions are taken into account when updating task data. |
|