System_ProcWatch_Config::fromIniFile()

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

Synopsis

require_once 'System/ProcWatch/Config.php';

mixed System_ProcWatch_Config::fromIniFile (string $file)

Beschreibung

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

Parameter

string $file

path to INI file

Rückgabewert

Returns config array on success or PEAR_Error on failure.

Fehler-Meldungen

Throws PEAR_Error if INI file doesn't exist.

Siehe auch

Configuration by INI file

Hinweise

Diese Methode sollte statisch aufgerufen werden..