Search for in the Packages This site (using Yahoo!) Developers Developer mailing list General mailing list CVS commits mailing list
require_once 'PEAR/config.php';
object &PEAR_Config::singleton ([string $user_file = '' [, string $system_file = '']])
object &PEAR_Config::singleton
使用するこのクラスのインスタンスをひとつだけにしたい場合に使用します。 このメソッドは、直近に作成された PEAR_Config オブジェクトが存在すればその参照を返し、 存在しない場合は新しいオブジェクトを作成します。
ユーザ定義のオプションを読み込むファイル。
システム全体のデフォルト設定を読み込むファイル。
既存の、あるいは新しい PEAR_Config インスタンスを返します。
PEAR_Config::PEAR_Config()
この関数は、スタティックにコール されます。