Constructor & Destructor Documentation
__construct |
( |
|
$encoded_session_string | ) |
|
Usage: Pass the string containing encoded session data to the constructor, the identified session variables become public members of the object
$session = new SessionDecoder($encoded_session_string); print_r($session->my_var); or print_r($session['my_var']); get the names of identified variables print_r($session->keys());
- Parameters
-
string | $encoded_session_string | |
Member Function Documentation
decode |
( |
|
$encoded_session_string | ) |
|
pass an encoded session string to fill the object
- Parameters
-
string | $encoded_session_string | |
- Returns
- int number of identified variables
returns an array containing the names of the identified variables
- Returns
- array names of identified variables
offsetSet |
( |
|
$offset, |
|
|
|
$value |
|
) |
| |
The documentation for this class was generated from the following file: