spunQ_PhpSessionManager Class Reference

Wrapper for PHP's built-in session manager. More...

Inheritance diagram for spunQ_PhpSessionManager:

spunQ_ISessionManager

List of all members.

Public Member Functions

 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.

Static Public Member Functions

static getInstance ()
 Provides the singleton instance of this class.

Private Member Functions

 __construct ()
 Constructor.

Private Attributes

 $currentSession = NULL
 Holds the current session.

Static Private Attributes

static $instance = NULL
 The singleton instance of this class.


Detailed Description

Wrapper for PHP's built-in session manager.

Definition at line 6 of file PhpSessionManager.class.php.


Member Function Documentation

spunQ_PhpSessionManager::getCurrentSession (  ) 

Provides the current session.

Returns:
spunQ_ISession

Implements spunQ_ISessionManager.

Definition at line 59 of file PhpSessionManager.class.php.

static spunQ_PhpSessionManager::getInstance (  )  [static]

Provides the singleton instance of this class.

Returns:
spunQ_PhpSessionManager

Definition at line 17 of file PhpSessionManager.class.php.

spunQ_PhpSessionManager::initialize (  ) 

Called at the start of a script to initialize a session.

Returns:
void

Implements spunQ_ISessionManager.

Definition at line 41 of file PhpSessionManager.class.php.

spunQ_PhpSessionManager::shutdown (  ) 

Called at the end of a script to allow cleaning up.

Returns:
void

Implements spunQ_ISessionManager.

Definition at line 49 of file PhpSessionManager.class.php.


Member Data Documentation

spunQ_PhpSessionManager::$currentSession = NULL [private]

Holds the current session.

Initialized on demand in getCurrentSession().

Type:
spunQ_PhpSession?

Definition at line 29 of file PhpSessionManager.class.php.


The documentation for this class was generated from the following file:

Generated on Fri Jul 1 11:12:43 2011 for spunQ3 by  doxygen 1.5.9