System_ProcWatch_Config::fromIniFile()

System_ProcWatch_Config::fromIniFile() -- Get config array from INI file

概要

require_once 'System/ProcWatch/Config.php';

mixed System_ProcWatch_Config::fromIniFile (string $file)

説明

Parses an INI file into an array to configure System_ProcWatch with.

例 55-1INI configuration file

パラメータ

string $file

path to INI file

返り値

Returns config array on success or PEAR_Error on failure.

例外・エラー

Throws PEAR_Error if INI file doesn't exist.

参照

Configuration by INI file

注意

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