PEAR_Config::getDefaultChannel()

PEAR_Config::getDefaultChannel() -- Retrieve the default channel.

概要

require_once '/Config.php'; (since PEAR 1.4.0)

string|false PEAR_Config::getDefaultChannel ([string $layer = NULL])

説明

On startup, channels are not initialized, so if the default channel is not pear.php.net, then initialize the config.

パラメータ

string $layer

layer from which to retrieve the registry, or null for the first to match

例外・エラー

throws no exceptions thrown

注意

この関数は、スタティックにコールする ことはできません。