...Человеческий поиск в разработке...
- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/dispatcher/publicaction/integration/timemanager.php
- Класс: BitrixTasksDispatcherPublicActionIntegrationTimeManager
- Вызов: TimeManager::stop
public function stop($taskId) { $result = array(); if($taskId = $this->checkTaskId($taskId)) { global $USER; $timer = CTaskTimerManager::getInstance($USER->GetId()); if($timer->stop($taskId) === false) { $this->errors->add('TIMER_ACTION_FAILED.STOP', 'Timer action failed'); } } return $result; }