System_ProcWatch_Config::fromIniFile

System_ProcWatch_Config::fromIniFile() – Get config array from INI file

Synopsis

require_once 'System/ProcWatch/Config.php';

mixed System_ProcWatch_Config::fromIniFile ( string $file )

Description

Parses an INI file into an array to configure System_ProcWatch with.

INI configuration file

Parameter

string $file

path to INI file

Return value

Returns config array on success or PEAR_Error on failure.

Throws

Throws PEAR_Error if INI file doesn't exist.

Note

This function should be called statically.

Get config array from XML file (Previous) Get config array from an array (Next)
Last updated: Sun, 21 Dec 2014 — 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.