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.

Parameter

array $array

config array to check

Return value

Returns the same array on success or PEAR_Error on failure.

Throws

Throws PEAR_Error if an invalid configuration array was supplied.

Замечание

This function should be called statically.

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