XOOPS
2.6.0
|
Public Member Functions | |
del ($name) | |
destroy () | |
get ($name) | |
init () | |
set ($name, $value) | |
Public Member Functions inherited from Xmf\Module\Helper\AbstractHelper | |
__construct ($module=null) | |
addLog ($log) | |
init () | |
setDebug ($bool=true) | |
Private Member Functions | |
prefix ($name) | |
Private Attributes | |
$prefix | |
Additional Inherited Members | |
Protected Attributes inherited from Xmf\Module\Helper\AbstractHelper | |
$debug | |
$module | |
Definition at line 32 of file Session.php.
Xmf\Module\Session::del | ( | $name | ) |
Deletes a named session variable respecting our module prefix
string | $name | name of variable |
Definition at line 101 of file Session.php.
References $_SESSION, $name, and Xmf\Module\Session\prefix().
Xmf\Module\Session::destroy | ( | ) |
Delete all session variable starting with our module prefix
Definition at line 113 of file Session.php.
References $_SESSION, and Xmf\Module\Session\prefix().
Xmf\Module\Session::get | ( | $name | ) |
Fetch a named session variable respecting our module prefix
string | $name | name of variable |
Definition at line 84 of file Session.php.
References $_SESSION, $name, and Xmf\Module\Session\prefix().
Xmf\Module\Session::init | ( | ) |
Initialize parent::__constuct calls this after verifying module object.
Definition at line 44 of file Session.php.
References Xmf\Module\Session\prefix().
|
private |
Add our module prefix to a name
string | $name | name to prefix |
Definition at line 56 of file Session.php.
References $name.
Referenced by Xmf\Module\Session\del(), Xmf\Module\Session\destroy(), Xmf\Module\Session\get(), Xmf\Module\Session\init(), and Xmf\Module\Session\set().
Xmf\Module\Session::set | ( | $name, | |
$value | |||
) |
Sets a named session variable respecting our module prefix
string | $name | name of variable |
mixed | $value | value of variable |
Definition at line 71 of file Session.php.
References $_SESSION, $name, and Xmf\Module\Session\prefix().
|
private |
Definition at line 37 of file Session.php.