Home
last modified time | relevance | path

Searched refs:task_comment (Results 1 – 9 of 9) sorted by relevance

/plugin/bez/mdl/
H A DTask_commentFactory.php18 public function initial_save(Entity $task_comment, $data) { argument
20 if ($task_comment->task->thread_id != '' && $task_comment->task->type != 'preventive' && $task_comment->task->thread->state == 'closed') {
29 parent::initial_save($task_comment, $data);
31 $task_comment->task->set_participant_flags($task_comment->author, array('subscribent', 'commentator'));
35 $task_comment->task->set_state('done');
36 if ($task_comment->id) {
38 $task_comment
71 update_save(Entity $task_comment, $data) global() argument
[all...]
/plugin/bez/ctl/
H A Dtask.php23 $task_comment = $this->model->task_commentFactory->create_object(array('task' => $task)); variable
24 $this->model->task_commentFactory->initial_save($task_comment, $_POST);
26 $anchor = 'zk'.$task_comment->id;
58 /** @var bez\mdl\Task_comment $task_comment */
59 $task_comment = $this->model->task_commentFactory->get_one($this->get_param('zkid'), array('task' => $task)); variable
60 $this->model->task_commentFactory->delete($task_comment);
64 /** @var bez\mdl\Task_comment $task_comment */
65 $task_comment = $this->model->task_commentFactory->get_one($this->get_param('zkid'), array('thread' => $thread)); variable
68 $this->tpl->set_values($task_comment->get_assoc());
70 $this->model->task_commentFactory->update_save($task_comment,
[all...]
H A Dstart.php97 foreach ($task_comments as $task_comment) {
98 if ($task_comment->task->acl_of('id') < BEZ_PERMISSION_VIEW) continue;
100 $timeline->push($task_comment->create_date, 'task_comment_added', $task_comment->author, $task_comment);
/plugin/bez/db/
H A Dupdate0006.sql1 ALTER TABLE task_comment
4 UPDATE task_comment SET closing=1 WHERE id IN (SELECT MAX(id) FROM task_comment GROUP BY task_id)
H A Dupdate0012.sql14 DELETE FROM task_comment WHERE task_id=old.id;
H A Dupdate0003.sql12 DELETE FROM task_comment WHERE task_id=old.id;
H A Dupdate0001.sql334 CREATE TABLE task_comment ( table
/plugin/bez/
H A Dcli.php46 foreach ($task_comments as $task_comment) {
47 $task_comment->purge();
48 $action->get_model()->task_commentFactory->save($task_comment);
49 echo "Task comment #zk" . $task_comment->id . " purged\n";
/plugin/bez/tpl/
H A Dtask.php55 <?php foreach ($tpl->get('task_comments') as $task_comment): ?>
56 <?php $tpl->set('task_comment', $task_comment) ?>
58 $tpl->param('zkid') == $task_comment->id): ?>