System_ProcWatch_Config::fromArray()

System_ProcWatch_Config::fromArray() -- Get config array from an array

Synopsis

require_once 'System/ProcWatch/Config.php';

mixed System_ProcWatch_Config::fromArray (mixed $array)

Описание

This method in fact does a sanity check on the supplied config array and should only be used for testing purposes.

Параметр

array $array

config array to check

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

Returns the same array on success or PEAR_Error on failure.

Throws

Throws PEAR_Error if an invalid configuration array was supplied.

Заметка

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


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