PEAR_Config::set() -- Set config value in specific layer
Leírás
Set a config value in a specific layer (defaults to
'user'). Enforces the types defined
in the configuration_info array. An integer config
variable will be cast to int, and a set config
variable will be validated against its legal values.
Paraméterek
- string
$key
config key
- string
$value
config value
- string
$layer
config layer
Visszatérési érték
bool -
Visszatérési értéke TRUE sikeres futás esetén,
FALSE amennyiben hiba lépett fel.
Megjegyzés
Ez a függvény nem hívható
statikusan.