Session Class. More...
Public Member Functions | |
| __construct ($name) | |
| __get ($key) | |
| Get a session reference. | |
| __set ($key, $value) | |
| Set any session reference. | |
Static Public Member Functions | |
| static | start () |
| Start the session. | |
| static | destroy () |
| Destroy the session. | |
| static | id ($id=false) |
| Get or set the session id. | |
| static | name ($name=false) |
| Get or set the session name. | |
| static | started () |
| Tell if session is started. | |
| static | renew () |
| Renew the session (equivalent to start > destroy > start) | |
Protected Attributes | |
| $_session_parameters | |
| axSession values | |
Session Class.
Definition at line 18 of file axSession.class.php.
| axSession::__construct | ( | $ | name | ) |
Construct a new session handler instance
Definition at line 29 of file axSession.class.php.
| axSession::__get | ( | $ | key | ) |
Get a session reference.
| string | $key |
Definition at line 42 of file axSession.class.php.
| axSession::__set | ( | $ | key, |
| $ | value | ||
| ) |
Set any session reference.
| string | $key | |
| mixed | $value |
Definition at line 52 of file axSession.class.php.
| static axSession::destroy | ( | ) | [static] |
| static axSession::id | ( | $ | id = false | ) | [static] |
Get or set the session id.
| string | $id | [optional] [default false] |
Definition at line 82 of file axSession.class.php.
| static axSession::name | ( | $ | name = false | ) | [static] |
Get or set the session name.
| string | $name | [optional] [default false] |
Definition at line 92 of file axSession.class.php.
| static axSession::renew | ( | ) | [static] |
Renew the session (equivalent to start > destroy > start)
Definition at line 110 of file axSession.class.php.
| static axSession::start | ( | ) | [static] |
| static axSession::started | ( | ) | [static] |
array axSession::$_session_parameters [protected] |
axSession values
Definition at line 24 of file axSession.class.php.