XOOPS
2.6.0
|
Public Member Functions | |
__construct () | |
close () | |
destroy ($session_id) | |
gc ($maxlifetime) | |
open ($save_path, $name) | |
read ($session_id) | |
write ($session_id, $session_data) | |
Private Attributes | |
$db | |
$sessionTable = 'system_session' | |
Definition at line 26 of file Handler.php.
Xoops\Core\Session\Handler::__construct | ( | ) |
Constructor
Definition at line 41 of file Handler.php.
References Xoops\db(), and Xoops\getInstance().
Xoops\Core\Session\Handler::close | ( | ) |
Xoops\Core\Session\Handler::destroy | ( | $session_id | ) |
Destroy a session
string | $session_id | Id of session |
Definition at line 151 of file Handler.php.
References Xoops\db().
Xoops\Core\Session\Handler::gc | ( | $maxlifetime | ) |
Garbage Collector
string | $maxlifetime | Time in seconds until a session expires |
Definition at line 169 of file Handler.php.
References Xoops\db().
Referenced by Xoops\Core\Session\Handler\read().
Xoops\Core\Session\Handler::open | ( | $save_path, | |
$name | |||
) |
Open a session
string | $save_path | not used |
string | $name | not used |
Definition at line 54 of file Handler.php.
Xoops\Core\Session\Handler::read | ( | $session_id | ) |
Read a session from the database
string | $session_id | Id of the session |
Definition at line 76 of file Handler.php.
References $result, Xoops\db(), and Xoops\Core\Session\Handler\gc().
Xoops\Core\Session\Handler::write | ( | $session_id, | |
$session_data | |||
) |
Write a session to the database
string | $session_id | id of session |
string | $session_data | data to store |
Definition at line 110 of file Handler.php.
References $_SESSION, $expires, $result, and Xoops\db().
|
private |
Definition at line 31 of file Handler.php.
|
private |
Definition at line 36 of file Handler.php.