System_ProcWatch_Config::fromArray()
System_ProcWatch_Config::fromArray() -- Get config array from an array
概要
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 PEAR_Error if an invalid configuration array was supplied.