50 public function id($format =
'n')
61 return $this->
getVar(
'online_uid', $format);
70 return $this->
getVar(
'online_uname', $format);
79 return $this->
getVar(
'online_updated', $format);
88 return $this->
getVar(
'online_module', $format);
97 return $this->
getVar(
'online_ip', $format);
117 parent::__construct($db,
'online',
'XoopsOnline',
'online_uid',
'online_uname');
138 $rows = $this->db2->updatePrefix(
142 'online_updated' => $time,
147 if ($rows ===
false) {
151 $rows = $this->db2->insertPrefix(
154 'online_uid' =>
$uid,
156 'online_updated' => $time,
162 if ($rows ===
false) {
193 public function gc($expire)
online_uname($format= '')
write($uid, $uname, $time, $module, $ip)
getVar($key, $format= 's')
if(!$xoops->isUser()) $uid
__construct(Connection $db=null)
deleteAll(CriteriaElement $criteria, $force=true, $asObject=false)
initVar($key, $data_type, $value=null, $required=false, $maxlength=null, $options= '')
online_module($format= '')
online_updated($format= '')