System_ProcWatch_Config::fromXml()
System_ProcWatch_Config::fromXml() -- Get config array from XML string
概要
require_once 'System/ProcWatch/Config.php'; |
mixed System_ProcWatch_Config::fromXml (string $xml)
説明
Parses an XML string into an config array to configure System_ProcWatch with.
返り値
Returns config array on success or PEAR_Error on failure.
例外・エラー
Throws PEAR_Error if XML file does not exist or
problems parsing the XML string have occured.