Ubiquity 2.5.2
php rapid development framework
|
Multi-sites session. More...
Public Member Functions | |
set (string $key, $value) | |
getAll () | |
get (string $key, $default=null) | |
start (string $name=null, $root=null) | |
exists ($key) | |
terminate () | |
isStarted () | |
delete ($key) | |
regenerateId (bool $deleteOldSession=false) | |
Re-generates the session id. | |
visitorCount () | |
Public Member Functions inherited from AbstractSession | |
__construct (?VerifySessionCsrfInterface $verifyCsrf=null) | |
start (string $name=null) | |
exists (string $key) | |
delete (string $key) | |
getVerifyCsrf () | |
Data Fields | |
const | SESSION_ID = 'multi_session_id' |
Protected Member Functions | |
generateId () | |
Private Member Functions | |
getKey ($key) | |
getFilename ($key) | |
Private Attributes | |
string | $folder |
string | $id |
Additional Inherited Members | |
Protected Attributes inherited from AbstractSession | |
string | $name |
VerifySessionCsrfInterface | $verifyCsrf |
Multi-sites session.
Ubiquity\utils\http\session$MultisiteSession This class is part of Ubiquity
Definition at line 18 of file MultisiteSession.php.
delete | ( | $key | ) |
Definition at line 94 of file MultisiteSession.php.
exists | ( | $key | ) |
Definition at line 81 of file MultisiteSession.php.
|
protected |
Definition at line 31 of file MultisiteSession.php.
get | ( | string | $key, |
$default = null |
|||
) |
Reimplemented from AbstractSession.
Definition at line 51 of file MultisiteSession.php.
getAll | ( | ) |
Reimplemented from AbstractSession.
Definition at line 42 of file MultisiteSession.php.
|
private |
Definition at line 27 of file MultisiteSession.php.
|
private |
Definition at line 23 of file MultisiteSession.php.
isStarted | ( | ) |
Reimplemented from AbstractSession.
Definition at line 90 of file MultisiteSession.php.
regenerateId | ( | bool | $deleteOldSession = false | ) |
Re-generates the session id.
boolean | $deleteOldSession | if true, deletes the old session |
Reimplemented from AbstractSession.
Definition at line 98 of file MultisiteSession.php.
set | ( | string | $key, |
$value | |||
) |
Reimplemented from AbstractSession.
Definition at line 35 of file MultisiteSession.php.
start | ( | string | $name = null , |
$root = null |
|||
) |
Definition at line 60 of file MultisiteSession.php.
terminate | ( | ) |
Reimplemented from AbstractSession.
Definition at line 85 of file MultisiteSession.php.
visitorCount | ( | ) |
Reimplemented from AbstractSession.
Definition at line 113 of file MultisiteSession.php.
|
private |
Definition at line 19 of file MultisiteSession.php.
|
private |
Definition at line 20 of file MultisiteSession.php.
const SESSION_ID = 'multi_session_id' |
Definition at line 21 of file MultisiteSession.php.