Convenience method to get/set a config variable without global declaration within the calling function
Parameters | |||
---|---|---|---|
string
|
$key |
The config variable name without prefix |
# |
mixed
|
$value = '' |
The value to set to the config variable; if it is omitted, it is Getter method. |
# |
Returns | |
---|---|
mixed
|
The value of the config variable |