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.

Gets the file used for storing the config for a layer (Previous) Get the documentation for a config value (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.