FreenetIS
 All Classes Namespaces Functions Variables Pages
Static Public Member Functions | List of all members
Settings Class Reference

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$keyKey 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$keyKey to set up
string$valueValue to set up to key
Returns
boolean

The documentation for this class was generated from the following file: