Lines Matching defs:task
11 protected $task;
19 if ($property == 'task') {
23 if ($this->task == null) {
24 $this->task = $this->model->taskFactory->get_one($this->task_id);
26 return $this->task;
46 if (!isset($defaults['task'])) {
47 throw new \Exception('$defaults[task] not set');
49 $this->task = $defaults['task'];
50 $this->task_id = $this->task->id;
58 if (isset($defaults['task']) && $this->task_id == $defaults['task']->id) {
59 $this->task = $defaults['task'];
78 return $tpl->url('task', 'tid', $this->task_id) . '#zk' . $this->id;
96 $this->task->mail_notify($content, false, $info['img']);