Public Member Functions | |
| get ($prm) | |
| getAll () | |
| set (array $prm) | |
| check ($prm) | |
| del ($prm, $autoPrefix=true) | |
| clear ($nameSpace=true) | |
| getSessIdForce () | |
| getNameSpace () | |
| setNameSpace ($nameSpace) | |
| del ($prm) | |
| __get ($name) | |
| __set ($name, $val) | |
| __isset ($name) | |
| __unset ($name) | |
| getAttr ($name) | |
| setAttr ($name, $value) | |
| getCfg () | |
Protected Member Functions | |
| afterInit () | |
| setNameSpaceInArray (array $prm) | |
| beforeInit () | |
Protected Attributes | |
| $cfg | |
Private Member Functions | |
| prefixNameSpace ($name) | |
Manage session variable Singleton
Definition at line 11 of file php.class.php.
| __get | ( | $ | name | ) | [inherited] |
Get a session variable, with a convenient way $session->name
| string | $name The variable name |
Definition at line 102 of file session/abstract.class.php.
| __isset | ( | $ | name | ) | [inherited] |
Check if a session variable is set, with a convenient way isset($session->name)
| string | $name variable name to check |
Definition at line 124 of file session/abstract.class.php.
| __set | ( | $ | name, | |
| $ | val | |||
| ) | [inherited] |
Set a variable, with a convenient way $session->name = $value
| string | $name The variable name | |
| mixed | $val The variable value |
Definition at line 113 of file session/abstract.class.php.
| __unset | ( | $ | name | ) | [inherited] |
Delete a variable, with a convenient way unset($session->name)
| string | $name Variable name to delete |
Definition at line 134 of file session/abstract.class.php.
| afterInit | ( | ) | [protected] |
| beforeInit | ( | ) | [protected, inherited] |
Call just before the configuration initialisation
Reimplemented in form_file.
Definition at line 35 of file object.class.php.
| check | ( | $ | prm | ) |
check if a variable is set
| string|array | $prm Array parameter:
|
Reimplemented from session_abstract.
Definition at line 69 of file php.class.php.
| clear | ( | $ | nameSpace = true |
) |
Clear all the session variables and start a new session
| string|true|null | $nameSpace If string will clear only the name space, if true will clear the current name space |
Reimplemented from session_abstract.
Definition at line 102 of file php.class.php.
| del | ( | $ | prm | ) | [abstract, inherited] |
Delete a session variable
| string|array | $prm Array parameter:
|
| del | ( | $ | prm, | |
| $ | autoPrefix = true | |||
| ) |
Delete a session variable
| string|array | $prm Array parameter:
| |
| bool | $autoPrefix |
Definition at line 90 of file php.class.php.
| get | ( | $ | prm | ) |
Get a session variable
| string|array | $prm Array parameter:
|
Reimplemented from session_abstract.
Definition at line 29 of file php.class.php.
| getAll | ( | ) |
Get all session variables
Reimplemented from session_abstract.
Definition at line 48 of file php.class.php.
| getAttr | ( | $ | name | ) | [inherited] |
Get an attribute
| string | $name Attribute name |
Reimplemented in response_proxy.
Definition at line 48 of file object.class.php.
| getCfg | ( | ) | [inherited] |
| getNameSpace | ( | ) | [inherited] |
| getSessIdForce | ( | ) |
Get the sessId Name that should be sent trhough GET or POST values.
Definition at line 122 of file php.class.php.
| prefixNameSpace | ( | $ | name | ) | [private] |
Prefix the session variable name and add the namespace
Definition at line 129 of file php.class.php.
| set | ( | array $ | prm | ) |
Set a session variable
| array | $prm Array parameter:
|
Reimplemented from session_abstract.
Definition at line 59 of file php.class.php.
| setAttr | ( | $ | name, | |
| $ | value | |||
| ) | [inherited] |
Set an attribute
| string | $name Attribute name | |
| mixed | $value Attribute value |
Reimplemented in response_proxy.
Definition at line 58 of file object.class.php.
| setNameSpace | ( | $ | nameSpace | ) | [inherited] |
Set the name space to use
| string | $nameSpace |
Definition at line 26 of file session/abstract.class.php.
| setNameSpaceInArray | ( | array $ | prm | ) | [protected, inherited] |
Set the name space if set in the array
| array | $prm |
Definition at line 35 of file session/abstract.class.php.
$cfg [protected, inherited] |
Definition at line 17 of file object.class.php.
1.7.1