Lines Matching refs:this
27 $this->hlp = plugin_load('helper', 'do');
57 $this->Lexer->addEntryPattern('<do.*?>(?=.*?</do>)', $mode, 'plugin_do_do');
63 $this->Lexer->addExitPattern('</do>', 'plugin_do_do');
107 $data['task']['text'] = $this->_textContent(
140 * Return the task as it was before this rendering run
156 $statuses = $this->hlp->loadTasks(array('id' => $page));
175 if (isset($this->saved[$page][$md5])) {
178 $this->saved[$page][$md5] = 1;
193 $oldtask = $this->_oldTask($ID, $data['task']['md5']);
202 $this->_save($data);
232 if (!in_array($data['task']['md5'], $this->ids)) {
234 $this->ids[] = $data['task']['md5'];
248 . (empty($data['task']['msg']) ? '' : '(' . $this->getLang('js')['note_done'] . hsc($data['task']['msg']) . ')')
254 $R->doc .= $this->getLang('user');
259 $R->doc .= ' <span class="plugin_do_meta_user">' . $this->hlp->getPrettyUser($users[$i]) . '</span>';
269 $R->doc .= $this->getLang('date') . ' <span class="plugin_do_meta_date">' . hsc($data['task']['date']) . '</span>';
290 // on the first run for this page, clean up
291 if (!isset($this->run[$ID])) {
292 $this->hlp->cleanPageTasks($ID);
293 $this->run[$ID] = true;
302 if (!$this->_needsSave($ID, $data['task']['md5'])) {
311 $data['task']['pos'] = ++$this->position;
314 $this->hlp->saveTask($data['task']);
323 if (!$this->getConf('notify_assignee')) {
328 $oldtask = $this->_oldTask($ID, $data['task']['md5']);
337 $this->hlp->sendMail($receivers, 'open', $data['task'], $data['task']['creator']);