PEAR_Config::setRegistry (Previous) (Next) PEAR_Config::store

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_Config::singleton()

PEAR_Config::singleton() -- PEAR_Config オブジェクトのインスタンスを返す

説明

使用するこのクラスのインスタンスをひとつだけにしたい場合に使用します。 このメソッドは、直近に作成された PEAR_Config オブジェクトが存在すればその参照を返し、 存在しない場合は新しいオブジェクトを作成します。

パラメータ

string $user_file

ユーザ定義のオプションを読み込むファイル。

string $system_file

システム全体のデフォルト設定を読み込むファイル。

返り値

既存の、あるいは新しい PEAR_Config インスタンスを返します。

注意

この関数は、スタティックにコール されます。

PEAR_Config::setRegistry (Previous) (Next) PEAR_Config::store

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.