PEAR_Registry|false& PEAR_Config::getRegistry (
string $use
= = null
)
This package is not documented yet.
$use
このパラメータは、レジストリを取得するためにどのレイヤーを使用するかを、そのレイヤーの
php_dir
設定値にもとづいて決定します。デフォルトである null
は、有効な php_dir を含む最初のレイヤーを使用します。一方
user
、system
あるいは
ftp
を指定すると、対応するレイヤーのレジストリを返そうとします。
レジストリの取得に失敗した場合は、false を返します。
例外はスローされません。
This function can not be called statically.