public static function setSessOffline(Module_Chat $module) { $sessid = GWF_Session::getSessID(); $table = new self(false); if (false === ($row = $table->getRow($sessid))) { # Unknown row return true; } return $row->saveVar('chaton_timeleft', time()); }
public function pivot($table, $id) { $cursor = new self(Db::instance($this->db->db, $table)); $row = $cursor->getRow($id); if (!is_null($this->closure)) { if (is_callable($this->closure)) { $callable = $this->closure; $row = $callable($row); } } return $row; }
public function pivot($table, $id) { $cursor = new self(Db::instance($this->db->db, $table)); return $cursor->getRow($id); }
public static function getByEmail($email) { $nl = new self(false); return $nl->getRow($email); }