9 public $mModule =
null;
11 public function __construct()
14 if (isset($initVars)) {
15 $this->mVars = $initVars;
18 $this->initVar(
'online_uid', XOBJ_DTYPE_INT,
'0',
true);
19 $this->initVar(
'online_uname', XOBJ_DTYPE_STRING,
'',
true, 25);
20 $this->initVar(
'online_updated', XOBJ_DTYPE_INT,
'0',
true);
21 $this->initVar(
'online_module', XOBJ_DTYPE_INT,
'0',
true);
22 $this->initVar(
'online_ip', XOBJ_DTYPE_STRING,
'',
true, 15);
23 $initVars = $this->mVars;
26 public function loadModule()
28 if ($this->
get(
'online_module')) {
29 $handler = &xoops_gethandler(
'module');
30 $this->mModule = &$handler->get($this->
get(
'online_module'));