FusionDirectory
 All Data Structures Files Functions Variables
Static Public Member Functions
session Class Reference

This class contains all the function needed to manage sessions. More...

Static Public Member Functions

static is_set ($name)
 Check if the name of the session is set. More...
 
static global_is_set ($name)
 Check if a session is defined. More...
 
static set ($name, $value)
 Set a value in a session. More...
 
static global_set ($name, $value)
 Set a value in a session. More...
 
static & get ($name)
 Accessor of a session. More...
 
static global_get ($name)
 Accessor of a session var. More...
 
static & global_get_ref ($name)
 Accessor of a session var by reference. More...
 
static delete ($name)
 Delete a session. More...
 
static global_delete ($name)
 Delete a session. More...
 
static un_set ($name)
 Unset a session. More...
 
static global_un_set ($name)
 Unset a session. More...
 
static start ($id=NULL)
 Start a session.
 
static destroy ()
 Destroy a session.
 
static & get_all ()
 Get all sessions.
 

Detailed Description

This class contains all the function needed to manage sessions.

Definition at line 30 of file class_session.inc.

Member Function Documentation

static delete (   $name)
static

Delete a session.

Parameters
string$nameName of the session to delete

Definition at line 166 of file class_session.inc.

Referenced by un_set().

static& get (   $name)
static
static global_delete (   $name)
static

Delete a session.

Parameters
string$nameName of the session to delete

Definition at line 190 of file class_session.inc.

Referenced by global_un_set().

static global_get (   $name)
static
static& global_get_ref (   $name)
static

Accessor of a session var by reference.

Parameters
string$nameName of the session var

Definition at line 155 of file class_session.inc.

Referenced by add_lock(), del_lock(), userinfo\get_module_departments(), and userinfo\get_permissions().

static global_is_set (   $name)
static
static global_set (   $name,
  $value 
)
static
static global_un_set (   $name)
static

Unset a session.

Parameters
string$nameName of the session to delete

Definition at line 212 of file class_session.inc.

References global_delete().

Referenced by config\check_and_reload(), and initLanguage().

static is_set (   $name)
static

Check if the name of the session is set.

Parameters
string$nameThe name of the session

Definition at line 36 of file class_session.inc.

References msg_dialog\display().

Referenced by check_sizelimit(), gen_locked_message(), passwordMethod\get_available_methods(), msg_dialog\get_dialogs(), simplePlugin\mainInc(), print_sizelimit_warning(), and config\snapshotEnabled().

static set (   $name,
  $value 
)
static
static un_set (   $name)
static

Unset a session.

Parameters
string$nameName of the session to delete

Definition at line 202 of file class_session.inc.

References delete().

Referenced by simplePlugin\mainInc().


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