Settings of whole FreenetIS.
More...
Static Public Member Functions |
static | get ($key, $cache=TRUE) |
| Function to get value from settings by given key.
|
static | set ($key, $value) |
| Function to set up given value to given key.
|
Detailed Description
Settings of whole FreenetIS.
Settings are cached except passwords because of security.
Member Function Documentation
static Settings::get |
( |
|
$key, |
|
|
|
$cache = TRUE |
|
) |
| |
|
static |
Function to get value from settings by given key.
- Author
- Michal Kliment
- Parameters
-
string | $key | Key of settings to find |
- Returns
- string Value from settings
static Settings::set |
( |
|
$key, |
|
|
|
$value |
|
) |
| |
|
static |
Function to set up given value to given key.
- Author
- Michal Kliment
- Parameters
-
string | $key | Key to set up |
string | $value | Value to set up to key |
- Returns
- boolean
The documentation for this class was generated from the following file: