Lines Matching refs:comment

96      * @param Comment $comment
98 public function save($comment) { argument
104 if (!empty($comment->getCid())) {
110 $comment->getPid(),
111 $comment->getSource(),
112 $comment->getName(),
113 $comment->getMail(),
114 $comment->getWeb(),
115 $comment->getAvatar(),
116 $comment->getCreated(),
117 $comment->getText(),
118 $comment->getStatus(),
119 $comment->getCid()
127 $entry->load_by_pid($comment->getPid());
138 $comment->setStatus($this->getconf('moderate_comments') ? 'hidden' : 'visible');
140 if(!empty($comment->getCreated())) {
141 $comment->setCreated(time());
144 $comment->setAvatar(''); // FIXME create avatar using a helper function
147 $comment->getPid(),
148 $comment->getSource(),
149 $comment->getName(),
150 $comment->getMail(),
151 $comment->getWeb(),
152 $comment->getAvatar(),
153 $comment->getCreated(),
154 $comment->getText(),
155 $comment->getStatus(),
156 $comment->getIp()
168 $comment->getPid(),
169 $comment->getCreated(),
170 $comment->getMail()
173 $comment->setCid($cid === false ? 0 : $cid);
178 if($comment->getSubscribe()) {
179 $this->subscribe($comment->getPid(),$comment->getMail());
182 $this->send_subscriber_mails($comment);
231 public function send_subscriber_mails($comment){ argument
240 $res = $this->sqlitehelper->getDB()->query($sql, $comment->getPid());
250 'NAME' => $comment->getName(),
251 'COMMENT' => $comment->getText(),
252 'USER' => $comment->getName(),
253 'MAIL' => $comment->getMail(),
258 …'URL' => wl($entry['page'],'',true).($comment->getCid() ? '#comment_'.$comment->getCid() :…
283 $res = $this->sqlitehelper->getDB()->query($sql, $comment->Pid());
287 if($row['mail'] == $comment->getMail()) continue;
474 $comment = $BLOGTNG['comment'];
495 ->val($comment->$functionname());
508 ->val($comment->getText());
540 $comment->setCid('preview');
541 $comment->output($tplname);
609 $comment = new Comment();
611 $comment->init($row);
612 $comment->output($name);
678 $comment = $this->comment_by_cid($row['cid']);