container)->check($this->getClassName(), 'hasSubtaskTimer', $subtask_id); return $this->subtaskTimeTrackingModel->hasTimer($subtask_id, $user_id); } public function logSubtaskStartTime($subtask_id, $user_id) { SubtaskAuthorization::getInstance($this->container)->check($this->getClassName(), 'logSubtaskStartTime', $subtask_id); return $this->subtaskTimeTrackingModel->logStartTime($subtask_id, $user_id); } public function logSubtaskEndTime($subtask_id,$user_id) { SubtaskAuthorization::getInstance($this->container)->check($this->getClassName(), 'logSubtaskEndTime', $subtask_id); return $this->subtaskTimeTrackingModel->logEndTime($subtask_id, $user_id); } public function getSubtaskTimeSpent($subtask_id,$user_id) { SubtaskAuthorization::getInstance($this->container)->check($this->getClassName(), 'getSubtaskTimeSpent', $subtask_id); return $this->subtaskTimeTrackingModel->getTimeSpent($subtask_id, $user_id); } }