22 function read($session_key)
24 if(!$session_key || !$this->session_started)
return;
26 $args =
new stdClass();
27 $args->session_key = $session_key;
28 $columnList = array(
'session_key',
'cur_mid',
'val');
52 $args->site_srl = (int)$site_module_info->site_srl;
56 if(!
$args->period_time)
$args->period_time = 3;
57 $args->last_update = date(
"YmdHis", $_SERVER[
'REQUEST_TIME'] -
$args->period_time*60);
62 $member_srls = array();
63 $member_keys = array();
66 foreach(
$output->data as $key => $val)
68 $member_srls[$key] = $val->member_srl;
69 $member_keys[$val->member_srl] = $key;
83 if(!count($member_srls))
return $output;
85 $member_args->member_srl = implode(
',',$member_srls);
87 if($member_output->data)
89 foreach($member_output->data as $key => $val)
91 $output->data[$member_keys[$val->member_srl]] = $val;
session module's high class
getLoggedMembers($args)
Get a list of currently connected users Requires "object" argument because multiple arguments are exp...
The Model class of the session module.
executeQueryArray($query_id, $args=NULL, $arg_columns=NULL)
executeQuery($query_id, $args=NULL, $arg_columns=NULL)