Static Public Member Functions | |
| static | getInstance (array $cfg=array()) |
| static | initFlash () |
| static | hasFlash ($name) |
| static | getFlash ($name) |
| static | setFlash ($name, $val=null) |
Private Member Functions | |
| __construct () | |
Static Private Member Functions | |
| static | initCfg () |
Static Private Attributes | |
| static | $cfg |
| static | $flash |
| static | $flashVars |
Manage session variable
Definition at line 10 of file session.class.php.
| __construct | ( | ) | [private] |
No instanciation for this class
Definition at line 36 of file session.class.php.
| static getFlash | ( | $ | name | ) | [static] |
Get a Flash var
| string | $name Flash var name |
Definition at line 90 of file session.class.php.
| static getInstance | ( | array $ | cfg = array() |
) | [static] |
Get the unique session instance
| array | $cfg Configuration array for the session |
Definition at line 44 of file session.class.php.
| static hasFlash | ( | $ | name | ) | [static] |
Check if a flash var exists
| string | $name Flash var name |
Definition at line 79 of file session.class.php.
| static initCfg | ( | ) | [static, private] |
Init the session configuration
Definition at line 52 of file session.class.php.
| static initFlash | ( | ) | [static] |
Init the flash instance
Definition at line 60 of file session.class.php.
| static setFlash | ( | $ | name, | |
| $ | val = null | |||
| ) | [static] |
Set a Flash var
| 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 [static, private] |
Definition at line 17 of file session.class.php.
$flash [static, private] |
Definition at line 24 of file session.class.php.
$flashVars [static, private] |
Definition at line 31 of file session.class.php.
1.7.1