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

Return value

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.


This function should be called statically.

Get config array from XML string (Previous) Get config array from INI file (Next)
Last updated: Tue, 06 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.