PEAR_Config::getRegistry

PEAR_Config::getRegistry() – getRegistry

Synopsis

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

PEAR_Registry|false& PEAR_Config::getRegistry ( string $use = null )

Description

This package is not documented yet.

Parameter

string $use

This parameter determines which layer will be used to retrieve a registry based on the php_dir configuration variable for that layer. The default value of null will use the first layer that contains a valid php_dir, whereas if specified as user, system or ftp, it will attempt to return the registry for that layer.

On failure to retrieve a registry, it returns false

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Get short documentation for a config value (Previous) getRemote (Next)
Last updated: Wed, 22 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.