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: Sun, 22 Jan 2017 — 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:
  • English

User Notes:

There are no user contributed notes for this page.