Lines Matching defs:thread_comment
41 /** @var bez\mdl\Thread_comment $thread_comment */
42 $thread_comment = $this->model->thread_commentFactory->create_object(array('thread' => $thread));
43 $this->tpl->set('thread_comment', $thread_comment);
47 $this->model->thread_commentFactory->initial_save($thread_comment, $_POST);
49 $anchor = 'k'.$thread_comment->id;
82 /** @var bez\mdl\Thread_comment $thread_comment */
83 $thread_comment = $this->model->thread_commentFactory->get_one($this->get_param('kid'), array('thread' => $thread));
84 $this->model->thread_commentFactory->delete($thread_comment);
88 /** @var bez\mdl\Thread_comment $thread_comment */
89 $thread_comment = $this->model->thread_commentFactory->get_one($this->get_param('kid'), array('thread' => $thread));
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;
104 $thread_comment = $this->model->thread_commentFactory->get_one($this->get_param('kid'), array('thread' => $thread));
105 $defaults['thread_comment'] = $thread_comment;