CTasks classes
CTasks is the class to retrieve list of tasks and several other actions.
Attention! Large portion of CTasks class methods have deprecated (as of module version 12.0.9), that's why it is recommended to use the CTaskItem class and its methods instead.
Class methods
Method | Description | Available from version |
---|---|---|
Add | Adds a new task. | |
AddAccomplices | Adds participants for a task. | |
AddAuditors | Adds observers for a task. | |
AddFiles | Adds files to a task. | |
AddPrevious | Adds previous tasks. | |
AddTags | Adds tags to a task. | |
Delete | Deletes a task with ID. | |
GetByID | Returns task fields by its ID. | |
GetChildrenCount | Returns the number of subtasks for the specified task. | |
GetList | Returns a list of tasks. | |
GetUpdatesCount | Returns the number of updates in tasks. | 10.0.5 |
Update | Modifies the task parameters. | |
getAvailableOrderFields | Returns array of fields available for sorting. |
© «Bitrix24», 2001-2024