PEAR_Config::get()

PEAR_Config::get() -- Returns a configuration value

Synopsis

require_once 'PEAR/config.php';

mixed PEAR_Config::get (string $key [, mixed $layer = NULL])

Description

Returns a configuration value, prioritizing layers as per the layers property.

Parameter

string $key

config key

mixed $layer

layer key

Return value

mixed the config value, or NULL if not found

Note

This function can not be called statically.