Class SessionVariables

Description

Demonstrates the access to persistent variables and session variables

Located in /samples/SessionVariables.class.php (line 10)

SampleBase
   |
   --SampleAuthenticationBase
      |
      --SessionVariables
Variable Summary
Method Summary
SessionVariables __construct ()
void destroy ()
void displayAddVariablePage ([boolean $persistent = false])
void displayMainPage ()
void execute ()
void initialize ()
void savePersistent ()
void saveSession ()
Variables
Methods
Constructor __construct (line 20)

Construct the object

  • access: public
SessionVariables __construct ()

Redefinition of:
SampleAuthenticationBase::__construct()
Construct the object
destroy (line 48)

Destroy: Nothing to do

  • access: public
void destroy ()

Redefinition of:
SampleAuthenticationBase::destroy()
displayAddPersistentPage (line 126)

Display a form allowing the end-user to set a persistent variable

  • access: protected
void displayAddPersistentPage ()
displayAddSessionPage (line 135)

Display a form allowing the end-user to set a session variable

  • access: protected
void displayAddSessionPage ()
displayAddVariablePage (line 145)

Display a form allowing the end-user to set a persistent/session variable

  • access: protected
void displayAddVariablePage ([boolean $persistent = false])
  • boolean $persistent: If set to true, will use the permanent storage. Otherwise the variable will be destroyed with the session
displayMainPage (line 87)

Display the main page to an authenticated user

  • access: protected
void displayMainPage ()
execute (line 54)

Execute the application

  • access: public
void execute ()

Redefinition of:
SampleAuthenticationBase::execute()
initialize (line 30)

Initialize the application: Establish a connection with the

Soap Server using the code defined in the parent class

void initialize ()

Redefinition of:
SampleAuthenticationBase::initialize()
savePersistent (line 173)

Save a variable into the persistent storage

  • access: protected
void savePersistent ()
saveSession (line 184)

Save a variable into the session storage

  • access: protected
void saveSession ()

Inherited Methods

Inherited From SampleAuthenticationBase

SampleAuthenticationBase::__construct()
SampleAuthenticationBase::destroy()
SampleAuthenticationBase::displayFarewellPage()
SampleAuthenticationBase::displayLoginForm()
SampleAuthenticationBase::displayWelcomePage()
SampleAuthenticationBase::execute()
SampleAuthenticationBase::initialize()

Inherited From SampleBase

SampleBase::__construct()
SampleBase::addTimeMark()
SampleBase::destroy()
SampleBase::execute()
SampleBase::htmlFoot()
SampleBase::htmlHead()
SampleBase::htmlMenu()
SampleBase::initialize()
SampleBase::printTimeMarks()
SampleBase::run()
Class Constants

Documentation generated on Mon, 30 Mar 2009 16:36:27 +0200 by phpDocumentor 1.4.1