public function matches(Dog_Forum $board, Dog_ForumEntry $entry) { if ($this->forumid !== $board->getID()) { return false; } $bid = $entry->getGroupID(); if (strpos(',' . $this->exclusive . ',', ',' . $bid . ',') !== false) { return false; } elseif ($this->groupids == 0) { return true; } else { return strpos(',' . $this->groupids . ',', ',' . $bid . ',') !== false; } }
public function updateDatestamp(Dog_ForumEntry $entry) { return $this->saveVars(array('df_date' => $entry->getLastDate(), 'df_last' => $entry->getThreadID())); }
private function sendAbbo(Dog_Forum $board, Dog_Channel $channel, Dog_ForumEntry $entry) { $channel->sendPRIVMSG($this->lang('msg_entry', array($board->getTitle(), $entry->getUserName(), $entry->getTitle(), $entry->getURL()))); }