PEAR_Config::getDefaultChannel()
PEAR_Config::getDefaultChannel() -- Retrieve the default channel.
Synopsis
require_once '/Config.php'; (since PEAR 1.4.0) |
string|false PEAR_Config::getDefaultChannel ([string $layer = NULL])
Beschreibung
On startup, channels are not initialized, so if the default channel is not
pear.php.net, then initialize the config.
Parameter
- string
$layer
layer from which to retrieve the registry, or null for the first to match
Fehler-Meldungen
throws no exceptions thrown
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.