PEAR_Config::getConfFile PEAR_Config::getDocs

PEAR_Config

PEAR Manual


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 )

Description

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

Throws

throws no exceptions thrown

Note

This function can not be called statically.



PEAR_Config::getConfFile PEAR_Config::getDocs

PEAR_Config

PEAR Manual