PEAR_Registry|false& PEAR_Config::getRegistry (
string $use
= null
)
This package is not documented yet.
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 no exceptions thrown
This function can not be called statically.