Manage session variable Singleton
Definition at line 11 of file php.class.php.
◆ __get()
Get a session variable, with a convenient way $session->name
- Parameters
-
string | $name | The variable name |
- Returns
- mixed The variable or null if it doesn't exists
- See also
- get
Definition at line 102 of file session/abstract.class.php.
◆ __isset()
Check if a session variable is set, with a convenient way isset($session->name)
- Parameters
-
string | $name | variable name to check |
- Returns
- bool
- See also
- check
Definition at line 124 of file session/abstract.class.php.
◆ __set()
Set a variable, with a convenient way $session->name = $value
- Parameters
-
string | $name | The variable name |
mixed | $val | The variable value |
- See also
- set
Definition at line 113 of file session/abstract.class.php.
◆ __unset()
Delete a variable, with a convenient way unset($session->name)
- Parameters
-
string | $name | Variable name to delete |
- See also
- del
Definition at line 134 of file session/abstract.class.php.
◆ afterInit()
◆ beforeInit()
Call just before the configuration initialisation
Definition at line 35 of file object.class.php.
◆ check()
◆ clear()
clear |
( |
|
$nameSpace = true | ) |
|
◆ del() [1/2]
Delete a session variable
- Parameters
-
string | array | $prm | Array parameter:
- string name: variable name
- string nameSpace: variable name space
|
◆ del() [2/2]
del |
( |
|
$prm, |
|
|
|
$autoPrefix = true |
|
) |
| |
Delete a session variable
- Parameters
-
string | array | $prm | Array parameter:
- string name: variable name
- string nameSpace: variable name space
|
bool | $autoPrefix | |
Definition at line 90 of file php.class.php.
◆ get()
◆ getAll()
◆ getAttr()
Get an attribute
- Parameters
-
string | $name | Attribute name |
- Returns
- mixed|null The attribute or null if not set
Definition at line 48 of file object.class.php.
◆ getCfg()
Get the configuration object
- Returns
- config
Definition at line 67 of file object.class.php.
◆ getNameSpace()
◆ getSessIdForce()
Get the sessId Name that should be sent trhough GET or POST values.
- Returns
- string
Definition at line 122 of file php.class.php.
◆ prefixNameSpace()
Prefix the session variable name and add the namespace
Definition at line 129 of file php.class.php.
◆ set()
◆ setAttr()
setAttr |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
|
inherited |
Set an attribute
- Parameters
-
string | $name | Attribute name |
mixed | $value | Attribute value |
Definition at line 58 of file object.class.php.
◆ setNameSpace()
setNameSpace |
( |
|
$nameSpace | ) |
|
|
inherited |
◆ setNameSpaceInArray()
setNameSpaceInArray |
( |
array |
$prm | ) |
|
|
protectedinherited |
◆ $cfg
The documentation for this class was generated from the following file: