|
Previous Page |
Solar |
Next Page |
config()
static public
mixed
config (
string $group,
string $elem default NULL,
mixed $default default NULL
)
Safely gets a configuration group array or element value.
Parameters
- (string)
$group: The name of the group. - (string)
$elem: The name of the element in the group. - (mixed)
$default: If the group or element is not set, return this value instead. If this is not set and group was requested, returns an empty array; if not set and an element was requested, returns null.
Returns
- (mixed) The value of the configuration group or element.
Description
Safely gets a configuration group array or element value.