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 )

Description

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.

Note

This function should be called statically.

Get config array from INI file (Previous) Parser Information (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.