Documentation

Tasks in old core

Classes

List of Tasks module classes in the old core

Class Description Available from version
CTaskItem Class for creating/editing/deleting and performing other actions with tasks (strongly recommended to use instead of CTasks). 12.5.0
CTasks Class for getting list of tasks and several other actions. 10.0.2 по 12.0.9
CTaskElapsedItem Class for handling work hours with account of elapsed time. Should be used instead of deprecated CTaskElapsedTime. 12.5.4
CTaskElapsedTime Class for handling with account of elapsed task time. 10.0.5
CTaskFiles Class for handling task files. 10.0.5
CTaskFilterCtrl Class for handling preset and user filters for tasks. 12.0.1
CTaskLog Class for handling task history log. 10.0.5
CTaskReminders Class for managing notifications. 10.0.6
CTaskTags Class for handling tags. 10.0.5

Events

List of Tasks module events in the old core

Class Description Available from version
OnBeforeTaskAdd Before adding a task. CTasks::Add 10.0.5
OnBeforeTaskDelete Before deleting task. CTasks::Delete 10.0.5
OnBeforeTaskUpdate Before updating task. CTasks::Update 10.0.5
OnTaskAdd After adding task. CTasks::Add 10.0.5
OnTaskDelete After deleting task. CTasks::Delete 10.0.5
OnTaskUpdate After updating task. CTasks::Update 10.0.5
OnBeforeTaskNotificationSend Before sending notifications to IM. CTaskNotifications::SendMessage 12.5.0
OnBeforeTaskElapsedTimeAdd Before adding record on elapsed time into task actions log. CTaskElapsedTime::Add 14.0.16
OnBeforeTaskElapsedTimeUpdate Before updating record of elapsed time in the task action log. CTaskElapsedTime::Update 14.0.16
OnBeforeTaskElapsedTimeDelete Before deleting record of elapsed time from task action log. CTaskElapsedTime::Delete 14.0.16
OnTaskElapsedTimeAdd After adding record of elapsed time into task actions log. CTaskElapsedTime::Add 12.5.0
OnTaskElapsedTimeUpdate After updating record of elapsed time in task action log. CTaskElapsedTime::Update 12.5.0
OnTaskElapsedTimeDelete After deleting record of elapsed time in task action log. CTaskElapsedTime::Delete 12.5.0
OnBaseAllowedActionsMapInit When initializing map of allowed actions for task updating. CTaskItem::getBaseAllowedActions 12.5.3
OnTaskReminderAdd When adding task notification. CTaskReminders::Add 14.5.10

Additional



© «Bitrix24», 2001-2022
Up