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

Return value

Returns the same array on success or PEAR_Error on failure.


Throws PEAR_Error if an invalid configuration array was supplied.


This function should be called statically.

Get config array from INI file (Previous) Parser Information (Next)
Last updated: Tue, 24 Nov 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.