Ejemplo n.º 1
0
 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;
     }
 }
Ejemplo n.º 2
0
 public function updateDatestamp(Dog_ForumEntry $entry)
 {
     return $this->saveVars(array('df_date' => $entry->getLastDate(), 'df_last' => $entry->getThreadID()));
 }
Ejemplo n.º 3
0
 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())));
 }