System_ProcWatch_Config::fromXml()

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

Synopsis

Описание

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

Параметр

string $xml

XML string

Возвращаемое значение

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.

См. также

Configuration by XML file

Заметка

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

    Поддержать сайт на родительском проекте КГБ