コード例 #1
0
ファイル: task.php プロジェクト: DarneoStudio/bitrix
 /**
  * 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;
 }