◆ del()
Deletes a named session variable respecting our module prefix
- Parameters
-
string | $name | name of variable |
- Returns
- void
◆ destroy()
Delete all session variable starting with our module prefix
- Returns
- void
◆ get()
get |
( |
|
$name, |
|
|
|
$default = false |
|
) |
| |
Fetch a named session variable respecting our module prefix
- Parameters
-
string | $name | name of variable |
mixed | $default | default value to return if config $name is not set |
- Returns
- mixed $value value of session variable or false if not set
◆ init()
Initialize parent::__construct calls this after verifying module object.
- Returns
- void
Reimplemented from AbstractHelper.
◆ prefix()
Add our module prefix to a name
- Parameters
-
string | $name | name to prefix |
- Returns
- string module prefixed name
◆ set()
Sets a named session variable respecting our module prefix
- Parameters
-
string | $name | name of variable |
mixed | $value | value of variable |
- Returns
- void
◆ $prefix
The documentation for this class was generated from the following file:
- C:/xoops2511b2/htdocs/class/libraries/vendor/xoops/xmf/src/Module/Helper/Session.php