System_ProcWatch_Config::fromIniFile

System_ProcWatch_Config::fromIniFile() – INI ファイルから設定配列を取得する

Synopsis

require_once 'System/ProcWatch/Config.php';

mixed System_ProcWatch_Config::fromIniFile ( string $file )

Description

INI ファイルをパースし、System_ProcWatch の設定用の配列に変換します。

INI configuration file

Parameter

string $file

INI ファイルへのパス。

Return value

成功した場合に設定配列、失敗した場合に PEAR_Error を返します。

Throws

INI ファイルが存在しない場合に PEAR_Error をスローします。

Note

This function should be called statically.