|
FusionDirectory
|
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) |
| Deprecated. | |
| static | set ($name, $value) |
| Set a value in a session. More... | |
| static | global_set ($name, $value) |
| Deprecated. | |
| static | get ($name) |
| Accessor of a session var. More... | |
| static | global_get ($name) |
| Deprecated. | |
| static & | get_ref ($name) |
| Accessor of a session var by reference. More... | |
| static | delete ($name) |
| Deprecated. | |
| static | global_delete ($name) |
| Deprecated. | |
| static | un_set ($name) |
| Unset a session. More... | |
| static | global_un_set ($name) |
| Deprecated. | |
| static | start ($id=NULL) |
| Start a session. | |
| static | destroy (string $reason='') |
| Destroy a session. | |
This class contains all the function needed to manage sessions.
Definition at line 30 of file class_session.inc.
|
static |
Accessor of a session var.
| string | $name | Name of the session var |
Definition at line 75 of file class_session.inc.
Referenced by simplePlugin\__construct(), config\check_and_reload(), LoginMethod\connect(), logging\debug(), Lock\genLockedMessage(), passwordMethod\get_available_methods(), config\get_credentials(), msg_dialog\get_dialogs(), LDAP\get_objectclasses(), LDAP\log(), and pluglist\resetCache().
|
static |
Accessor of a session var by reference.
| string | $name | Name of the session var |
Definition at line 97 of file class_session.inc.
Referenced by Lock\add(), Lock\deleteByObject(), userinfo\get_module_departments(), and userinfo\get_permissions().
|
static |
Check if the name of the session is set.
| string | $name | The name of the session |
Definition at line 37 of file class_session.inc.
Referenced by simplePlugin\__construct(), Lock\add(), config\check_and_reload(), Lock\deleteByObject(), Lock\genLockedMessage(), passwordMethod\get_available_methods(), config\get_credentials(), msg_dialog\get_dialogs(), LDAP\get_objectclasses(), pluglist\load(), LDAP\log(), simplePlugin\setNeedEditMode(), and config\snapshotEnabled().
|
static |
Set a value in a session.
| string | $name | Name of the session |
| $value | The new value |
Definition at line 57 of file class_session.inc.
Referenced by Lock\add(), config\check_and_reload(), LoginMethod\connect(), ImageAttribute\deserializeValue(), management\execute(), Lock\genLockedMessage(), passwordMethod\get_available_methods(), config\get_credentials(), LDAP\get_objectclasses(), FileTextAreaAttribute\loadPostValue(), userinfo\reset_acl_cache(), config\set_current(), baseSelector\setBases(), and config\snapshotEnabled().
|
static |
Unset a session.
| string | $name | Name of the session to delete |
Definition at line 123 of file class_session.inc.
Referenced by config\check_and_reload(), and LoginPost\redirectSecondFactorPage().
1.8.13