
Public Member Functions | |
| __construct (spunQ_ISessionManager $manager) | |
| Constructor. | |
| initialize () | |
| Called at the start of a script to initialize a session. | |
| shutdown () | |
| Called at the end of a script to allow cleaning up. | |
| getCurrentSession () | |
| Provides the current session. | |
Protected Attributes | |
| $manager | |
| The wrapped session manager. | |
| $initialized = false | |
| Whether the wrapped session manager has been initialized. | |
Wraps another session manager and delays the call to its initialize() function until the current session is requested for the first time.
Definition at line 8 of file DelayedSessionManager.class.php.
| spunQ_DelayedSessionManager::__construct | ( | spunQ_ISessionManager $ | manager | ) |
Constructor.
| $manager | The wrapped session manager. |
Definition at line 26 of file DelayedSessionManager.class.php.
| spunQ_DelayedSessionManager::getCurrentSession | ( | ) |
Provides the current session.
Implements spunQ_ISessionManager.
Definition at line 51 of file DelayedSessionManager.class.php.
| spunQ_DelayedSessionManager::initialize | ( | ) |
Called at the start of a script to initialize a session.
Implements spunQ_ISessionManager.
Definition at line 34 of file DelayedSessionManager.class.php.
| spunQ_DelayedSessionManager::shutdown | ( | ) |
Called at the end of a script to allow cleaning up.
Implements spunQ_ISessionManager.
Definition at line 41 of file DelayedSessionManager.class.php.
spunQ_DelayedSessionManager::$initialized = false [protected] |
Whether the wrapped session manager has been initialized.
Definition at line 20 of file DelayedSessionManager.class.php.
spunQ_DelayedSessionManager::$manager [protected] |
1.5.9