Config
[ class tree: Config ] [ index: Config ] [ all elements ]

Class: Config_Container_IniFile

Source Location: /Config-1.5/Config/Container/IniFile.php

Class Overview


Config parser for PHP .ini files Faster because it uses parse_ini_file() but get rid of comments, quotes, types and converts On, Off, True, False, Yes, No to 0 and 1.


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 28]
Config parser for PHP .ini files Faster because it uses parse_ini_file() but get rid of comments, quotes, types and converts On, Off, True, False, Yes, No to 0 and 1.


[ Top ]


Class Variables

$options = array()

[line 36]

This class options Not used at the moment

Type:   array


[ Top ]



Method Detail

Config_Container_IniFile (Constructor)   [line 44]

Config_Container_IniFile Config_Container_IniFile( [string $options = array()])

Constructor
  • Access: public

Parameters:

string   $options     (optional)Options to be used by renderer

[ Top ]

parseDatasrc   [line 57]

mixed &parseDatasrc( string $datasrc, object &$obj)

Parses the data of the given configuration file
  • Return: returns a PEAR_ERROR, if error occurs or true if ok
  • Access: public

Parameters:

string   $datasrc     path to the configuration file
object   $obj     reference to a config object

[ Top ]

toString   [line 98]

string toString( object &$obj)

Returns a formatted string of the object
  • Access: public

Parameters:

object   $obj     Container object to be output as string

[ Top ]


Documentation generated on Fri, 30 Apr 2004 23:03:01 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.