System_ProcWatch_Config::fromXmlFile()

System_ProcWatch_Config::fromXmlFile() -- Get config array from XML file

概要

require_once 'System/ProcWatch/Config.php';

mixed System_ProcWatch_Config::fromXmlFile (string $file)

説明

Parses an XML file into an config array to configure System_ProcWatch with.

パラメータ

string $file

path to XML file

返り値

Returns config array on success or PEAR_Error on failure.

例外・エラー

Throws PEAR_Error if XML file does not exist, or problems parsing the XML file have occured.

参照

Configuration by XML file

注意

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