static object getInstance(
)
|
|
Returns THE instance of 'Session'.
The session is automatically initialized if it wasn't.
API Tags:
Destroys the current session.
API Tags:
Return: | TRUE is session has been deleted, else FALSE. |
Access: | public |
(Re)starts the session.
API Tags:
Return: | TRUE if the session has been initialized, else FALSE. |
Access: | public |
mixed __get(
name
$name
)
|
|
Gets datas from the session.
Example: echo $instance->foo;
Parameters:
name |
$name: |
Name of the datas to get. |
API Tags:
Return: | Datas stored in session. |
Access: | public |
void __set(
name
$name, value
$value
)
|
|
Stores datas in the session.
Example: $instance->foo = 'bar';
Parameters:
name |
$name: |
Name of the datas. |
value |
$value: |
Your datas. |
API Tags: