Source for file Ini.class.php
Documentation is available at Ini.class.php
* Gumbo Library Framework
* This library is being released under the terms of the New BSD License. A
* copy of the license is packaged with the software (LICENSE.txt). If no
* copy is found, a copy of the license template can be found at:
* http://www.opensource.org/licenses/bsd-license.php
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* This class will read an INI file using the parse_ini_file function. It will
* automatically separate sections. A standard INI file format:
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* @desc Config INI Reader
gumbo_load ("Interface_Config_Reader");
* Reads the given configuration into memory, and returns the results
* @return Gumbo_Interface_Composite
* @throws Gumbo_Exception
* @uses Gumbo_Converter, Gumbo_Branch
public function read ($file) {
gumbo_load ("Interface_Composite");
gumbo_load ("Converter");
$e->setFunction (__METHOD__
);