Static Public Member Functions | |
| static | start_session () |
| Start new DBO session and discard previous one. | |
| static | get_session () |
| Get current session or create new one if none is active. | |
| static | activate_session (dbo_session $session) |
| Activate existing DBO session. | |
| static | save_session ($id) |
| Save DBO session to the PHP session. | |
| static | load_session ($id) |
| Load DBO session from the PHP session and make it active. | |
Static Private Attributes | |
| static | $manager |
| static | $session |
This class is used to manage DBO sessions:
| static dbo_manager::activate_session | ( | dbo_session $ | session | ) | [static] |
Activate existing DBO session.
| session | [dbo_session] Session to activate. |
References $session.
| static dbo_manager::get_session | ( | ) | [static] |
Get current session or create new one if none is active.
References $session, and start_session().
Referenced by dbo::__construct(), dbo::get(), and save_session().
| static dbo_manager::load_session | ( | $ | id | ) | [static] |
Load DBO session from the PHP session and make it active.
| id | [string] DBO Session ID. |
References $session.
| static dbo_manager::save_session | ( | $ | id | ) | [static] |
Save DBO session to the PHP session.
| id | [string] DBO Session ID, that can be used for load_session(). |
References get_session().
| static dbo_manager::start_session | ( | ) | [static] |
Start new DBO session and discard previous one.
References $session.
Referenced by get_session().
dbo_manager::$manager [static, private] |
dbo_manager::$session [static, private] |
Referenced by activate_session(), get_session(), load_session(), and start_session().