System_ProcWatch_Config::fromXmlFile()

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

Synopsis

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

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

См. также

Configuration by XML file

Заметка

Эта функция должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ