wasp.gui
[ class tree: wasp.gui ] [ index: wasp.gui ] [ all elements ]

Class: SessionManager

Source Location: /gui/SessionManager.php

Class Overview


Wraps all PHP session state management functions.


Author(s):

  • brian.fioca@pangomedia.com

Methods



Class Details

[line 30]
Wraps all PHP session state management functions.

Use of the $_SESSION global variable is discouraged because Session data may be abstracted in the future to be saved in several different locations, including database, flat file, etc.




Tags:

author:  brian.fioca@pangomedia.com
since:  0.5


[ Top ]


Class Methods


method clearParameter [line 66]

void clearParameter( $stVarName $stVarName)

clears the value of a named parameter in the global session object.



Tags:

static:  
access:  public


Parameters:

$stVarName   $stVarName   the name of the parameter to clear

[ Top ]

method end [line 45]

void end( )

Ends the session.



Tags:

static:  
access:  public


[ Top ]

method getParameter [line 77]

the getParameter( $stVarName $stVarName)

gets the value of a named parameter in the global session



Tags:

return:  value of the named parameter, or null if not set
static:  
access:  public


Parameters:

$stVarName   $stVarName   the name of the parameter

[ Top ]

method isParameterSet [line 91]

boolean isParameterSet( $stVarName $stVarName)

checks to see if a named parameter is set in the global session.



Tags:

return:  true or false
static:  
access:  public


Parameters:

$stVarName   $stVarName   the name of the parameter

[ Top ]

method setParameter [line 56]

void setParameter( $stVarName $stVarName, $oValue $oValue)

sets a named parameter value in the global session object.



Tags:

static:  
access:  public


Parameters:

$stVarName   $stVarName   the name of the parameter
$oValue   $oValue   the value to set it to

[ Top ]

method start [line 35]

void start( )

Starts the session. Uses the name set in wasp_config.php



Tags:

static:  
access:  public


[ Top ]


Documentation generated on Sun, 27 Nov 2005 13:15:57 -0500 by phpDocumentor 1.3.0RC3