System_ProcWatch_Config::fromXml (Previous) (Next) System_ProcWatch_Config::fromIniFile

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

System_ProcWatch_Config::fromXmlFile()

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

Description

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

Parameter

string $file

path to XML file

Return value

Returns config array on success or PEAR_Error on failure.

Throws

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

Note

This function should be called statically.

System_ProcWatch_Config::fromXml (Previous) (Next) System_ProcWatch_Config::fromIniFile

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.