Manage session variable
Definition at line 10 of file session.class.php.
◆ __construct()
◆ getFlash()
Get a Flash var
- Parameters
-
string | $name | Flash var name |
- Returns
- mixed
Definition at line 90 of file session.class.php.
◆ getInstance()
static getInstance |
( |
array |
$cfg = array() | ) |
|
|
static |
◆ hasFlash()
Check if a flash var exists
- Parameters
-
string | $name | Flash var name |
- Returns
- bool
Definition at line 79 of file session.class.php.
◆ initCfg()
◆ initFlash()
◆ setFlash()
static setFlash |
( |
|
$name, |
|
|
|
$val = null |
|
) |
| |
|
static |
Set a Flash var
- Parameters
-
array | string | $name | Array to set multiple vars or string for the Flash var name |
mixed | $val | The value if set a single var |
Definition at line 101 of file session.class.php.
◆ $cfg
◆ $flash
◆ $flashVars
The documentation for this class was generated from the following file: