Gumbo_Session



Session Class

This class is a place holder for the Session instance the program uses. This is the common access class for the program. If the program switches from Session_Basic to Session_Encrypt, this class will hold the proper object. The program uses this class to access the active Session class. The basic Session class is used by default.

 Session::load (new Session_Basic ());
 Session::instance ()->method (); // uses Session_Basic instance

 Session::load (new Session_Encrypt ());
 // any method calls will use Session_Encrypt instance
 Session::instance ()->method (); // use Session_Encrypt

Author(s): Michael Luster <mluster79@yahoo.com>
License:New BSD License
Copyright:Copyright (c) 2007, iBayou, Michael Luster
Link:http://sourceforge.net/projects/phpgumbo
Version:0.0.1

Implements interfaces:

Class Variables

static Gumbo_Interface_Session $_instance =  null [line 53]

Class Methods

public static Gumbo_Interface_Session instance ( ) [line 61]

Singleton Method


[ Top ]
public static void load ( Gumbo_Interface_Session $sess ) [line 76]

Sets the Active Session Instance

Parameter(s):


[ Top ]