Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (array $options=[]) | |
close () | |
destroy ($session_id) | |
gc ($maxlifetime) | |
open ($save_path, $session_id) | |
read ($session_id) | |
write ($session_id, $session_data) | |
Fonctions membres publiques statiques | |
static | isSupported () |
Attributs privés | |
$prefix | |
APCu session storage handler
__construct | ( | array | $options = [] | ) |
Constructor
array | $options | Associative array of options to configure the handler |
Références $options.
close | ( | ) |
Close the session
destroy | ( | $session_id | ) |
Destroy a session
integer | $session_id | The session ID being destroyed |
gc | ( | $maxlifetime | ) |
Cleanup old sessions
integer | $maxlifetime | Sessions that have not updated for the last maxlifetime seconds will be removed |
|
static |
Test to see if the HandlerInterface is available
Implémente HandlerInterface.
open | ( | $save_path, | |
$session_id | |||
) |
Initialize session
string | $save_path | The path where to store/retrieve the session |
string | $session_id | The session id |
read | ( | $session_id | ) |
Read session data
string | $session_id | The session id to read data for |
write | ( | $session_id, | |
$session_data | |||
) |
Write session data
string | $session_id | The session id |
string | $session_data | The encoded session data |
|
private |