Beispiel #1
0
 public static function createChannelRecord(Dog_Channel $channel)
 {
     $row = new self(array('dqj_cid' => $channel->getID(), 'dqj_sid' => $channel->getVar('chan_sid'), 'dqj_uid' => 0, 'dqj_duration' => 9999.999900000001, 'dqj_date_quit' => str_repeat('0', 14), 'dqj_date_join' => str_repeat('0', 14), 'dqj_options' => 0));
     if (false === $row->replace()) {
         return false;
     }
     return $row;
 }