|
| __construct ($session_name= 'freedom_param') |
|
| Set ($id="") |
|
| setCookieSession ($id, $ttl=0) |
|
| Close () |
|
| CloseAll () |
|
| CloseUsers ($uid=-1) |
|
| Open ($uid=ANONYMOUS_ID) |
|
| Register ($k="", $v="") |
|
| Read ($k="", $d="") |
|
| Unregister ($k="") |
|
| newId () |
|
| SetTTL () |
|
| getSessionTTL ($default=0, $ttlParamName= '') |
|
| getSessionGcProbability ($default="0.01") |
|
| touch () |
|
| deleteUserExpiredSessions () |
|
| deleteGuestExpiredSessions () |
|
| gcSessions () |
|
| setuid ($uid) |
|
| sessionDirExistsAndIsWritable () |
|
| hasExpired () |
|
| removeSessionFile ($sessid=null) |
|
| __construct ($dbaccess= '', $id= '', $res= '', $dbid=0) |
|
| Select ($id) |
|
| getValues () |
|
| AffectColumn ($fields) |
|
| Affect ($array) |
|
| isAffected () |
|
| Complete () |
|
| PreInsert () |
|
| PostInsert () |
|
| PreUpdate () |
|
| PostUpdate () |
|
| PreDelete () |
|
| PostDelete () |
|
| PreSelect ($id) |
|
| PostSelect ($id) |
|
| Add ($nopost=false, $nopre=false) |
|
| Modify ($nopost=false, $sfields="", $nopre=false) |
|
| Delete ($nopost=false) |
|
| Adds (&$tcopy, $nopost=false) |
|
| lw ($prop) |
|
| CloseConnect () |
|
| Create ($nopost=false) |
|
| PostInit () |
|
| init_dbid () |
|
| exec_query ($sql, $lvl=0, $prepare=false) |
|
| numrows () |
|
| fetch_array ($c, $type=PGSQL_ASSOC) |
|
| Update () |
|
| savePoint ($point) |
|
| rollbackPoint ($point) |
|
| commitPoint ($point) |
|
Definition at line 51 of file Class.Session.php.
__construct |
( |
|
$session_name = 'freedom_param' | ) |
|
deleteGuestExpiredSessions |
( |
| ) |
|
deleteUserExpiredSessions |
( |
| ) |
|
getSessionGcProbability |
( |
|
$default = "0.01" | ) |
|
getSessionTTL |
( |
|
$default = 0 , |
|
|
|
$ttlParamName = '' |
|
) |
| |
Read |
( |
|
$k = "" , |
|
|
|
$d = "" |
|
) |
| |
Register |
( |
|
$k = "" , |
|
|
|
$v = "" |
|
) |
| |
removeSessionFile |
( |
|
$sessid = null | ) |
|
sessionDirExistsAndIsWritable |
( |
| ) |
|
setCookieSession |
( |
|
$id, |
|
|
|
$ttl = 0 |
|
) |
| |
Initial value:= array(
"id",
"userid",
"name",
"last_seen"
)
Definition at line 54 of file Class.Session.php.
$session_name = 'freedom_param' |
Initial value:= "create table sessions ( id varchar(100),
userid int,
name text not null,
last_seen timestamp not null DEFAULT now() );
create unique index sessions_idx on sessions(id);
create index sessions_idx_name on sessions(name);
create index sessions_idx_userid on sessions(userid);"
Definition at line 67 of file Class.Session.php.
The documentation for this class was generated from the following file: