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

このパラメータは、レジストリを取得するためにどのレイヤーを使用するかを、そのレイヤーの php_dir 設定値にもとづいて決定します。デフォルトである null は、有効な php_dir を含む最初のレイヤーを使用します。一方 usersystem あるいは ftp を指定すると、対応するレイヤーのレジストリを返そうとします。

レジストリの取得に失敗した場合は、false を返します。

Throws

例外はスローされません。

Note

This function can not be called statically.