Home
last modified time | relevance | path

Searched refs:thread_comment (Results 1 – 12 of 12) sorted by relevance

/plugin/bez/mdl/
H A DThread_commentFactory.php19 * @param Thread_comment $thread_comment
23 public function initial_save(Entity $thread_comment, $data) { argument
31 parent::initial_save($thread_comment, $data);
32 …$thread_comment->thread->set_participant_flags($thread_comment->author, array('subscribent', 'comm…
37 $thread_comment->thread->set_state('closed');
40 $thread_comment->thread->set_state('rejected');
43 $thread_comment->thread->set_state('opened');
47 $thread_comment->thread->update_last_activity();
52 $thread_comment->mail_notify_add();
54 $thread_comment->thread->mail_notify_change_state($notify);
[all …]
H A DTask.php34 protected $thread_comment; variable in dokuwiki\\plugin\\bez\\mdl\\Task
76 … if ($this->thread_comment == null || $this->thread_comment_id != $this->thread_comment->id) {
77 … $this->thread_comment = $this->model->thread_commentFactory->get_one($this->thread_comment_id);
79 return $this->thread_comment;
124 $this->thread_comment = $defaults['thread_comment'];
125 $this->thread_comment_id = $this->thread_comment->id;
127 if ($this->thread_comment->type == 'cause') {
182 $this->thread_comment = $defaults['thread_comment'];
H A DTask_commentFactory.php14 * @param Thread_comment $thread_comment
H A DThread.php451 $thread_comment = $r->fetch();
453 return $thread_comment->content_html;
/plugin/bez/ctl/
H A Dthread.php42 $thread_comment = $this->model->thread_commentFactory->create_object(array('thread' => $thread)); variable
43 $this->tpl->set('thread_comment', $thread_comment);
47 $this->model->thread_commentFactory->initial_save($thread_comment, $_POST);
49 $anchor = 'k'.$thread_comment->id;
83 …$thread_comment = $this->model->thread_commentFactory->get_one($this->get_param('kid'), array('thr… variable
84 $this->model->thread_commentFactory->delete($thread_comment);
89 …$thread_comment = $this->model->thread_commentFactory->get_one($this->get_param('kid'), array('thr… variable
92 $this->tpl->set_values($thread_comment->get_assoc());
94 $this->model->thread_commentFactory->update_save($thread_comment, $_POST);
96 $anchor = 'k' . $thread_comment->id;
[all …]
H A Dstart.php77 foreach ($thread_comments as $thread_comment) {
78 if ($thread_comment->thread->acl_of('id') < BEZ_PERMISSION_VIEW) continue;
80 if ($thread_comment->type == 'comment') {
81 …$timeline->push($thread_comment->create_date, 'thread_comment_added', $thread_comment->author, $th…
83 …$timeline->push($thread_comment->create_date, 'thread_comment_cause_added', $thread_comment->autho…
/plugin/bez/db/
H A Dupdate0001.sql49 CREATE TABLE thread_comment ( table
68 SELECT thread_comment.*,
70 FROM thread_comment
71 JOIN thread ON thread_comment.thread_id = thread.id;
74 ON thread_comment (thread_id);
164 thread_comment_id INTEGER REFERENCES thread_comment (id), --may be null
265 UPDATE thread_comment
274 UPDATE thread_comment
278 UPDATE thread_comment
H A Dupdate0010.sql1 UPDATE thread_comment SET type='risk' WHERE type='cause_potential';
2 UPDATE thread_comment SET type='cause' WHERE type='cause_real';
H A Dupdate0011.sql20 … (SELECT COUNT(*) FROM thread_comment WHERE type = 'cause' AND thread_id=thread.id) AS cause_count,
21 … (SELECT COUNT(*) FROM thread_comment WHERE type = 'risk' AND thread_id=thread.id) AS risk_count,
22 …(SELECT COUNT(*) FROM thread_comment WHERE type = 'opportunity' AND thread_id=thread.id) AS opport…
H A Dupdate0013.sql1 UPDATE thread_comment SET type='cause' WHERE type != 'comment';
22 … (SELECT COUNT(*) FROM thread_comment WHERE type = 'cause' AND thread_id=thread.id) AS cause_count
H A Dupdate0012.sql16 UPDATE thread_comment
/plugin/bez/tpl/
H A Dtask.php31 …ad', 'id', $tpl->get('task')->thread->id) ?>#k<?php echo $tpl->get('task')->thread_comment->id ?>">
32 #k<?php echo $tpl->get('task')->thread_comment->id ?>
34 <?php echo $tpl->getLang($tpl->get('task')->thread_comment->type) ?>
36 <?php echo $tpl->get('task')->thread_comment->content_html ?>