Manage ezcPersistentSessionIdentityDecorator. More...
Static Public Member Functions | |
static | getInstance () |
Private Member Functions | |
__clone () | |
Static Private Attributes | |
static | $instance = null |
Manage ezcPersistentSessionIdentityDecorator.
The GauffrPersistentSessionIdentity classes.
Manage one instance of ezcPersistentSessionIdentityDecorator.
Definition at line 19 of file gauffrpersistentsessionidentity.php.
GauffrPersistentSessionIdentity::__clone | ( | ) | [private] |
Don't allow clone
Exception | because Gauffr don't allow clone. |
Definition at line 50 of file gauffrpersistentsessionidentity.php.
{ throw new Exception ('Clone is not allowed'); }
static GauffrPersistentSessionIdentity::getInstance | ( | ) | [static] |
Returns an instance of the class Gauffr.
Definition at line 33 of file gauffrpersistentsessionidentity.php.
References GauffrPersistentObject::getPersistentSessionInstance().
Referenced by GauffrPersistentObject::getPersistentSessionIdentity().
{ if ( is_null( self::$instance ) ) { $persistentSession = GauffrPersistentObject::getPersistentSessionInstance(); $identityMap = new ezcPersistentBasicIdentityMap( $persistentSession->definitionManager ); self::$instance = new GauffrPersistentSessionIdentity( $persistentSession, $identityMap ); } return self::$instance; }
GauffrPersistentSessionIdentity::$instance = null [static, private] |
Gauffr | Instance |
Definition at line 24 of file gauffrpersistentsessionidentity.php.