/** * Start an execution timer for a specified task */ public function startWatch($id) { global $USER; $result = array(); if ($id = $this->checkTaskId($id)) { $task = new \CTaskItem($id, $USER->GetId()); $task->startWatch(); } return $result; }
/** * Start an execution timer for a specified task */ public function startWatch($id) { global $USER; $result = array(); if ($id = $this->checkTaskId($id)) { $task = new \CTaskItem($id, $USER->GetId()); $task->startWatch(); } return $result; }