System_ProcWatch_Config::fromXml

System_ProcWatch_Config::fromXml() – Get config array from XML string

Synopsis

require_once 'System/ProcWatch/Config.php';

mixed System_ProcWatch_Config::fromXml ( string $xml )

Description

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

Parameter

string $xml

XML string

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 string have occured.

Note

This function should be called statically.

System_ProcWatch_Config (Previous) Get config array from XML file (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.