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

Class: Config_Container_IniCommented

Source Location: /Config-1.7/Config/Container/IniCommented.php

Class Overview


Config parser for PHP .ini files with comments


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 26]
Config parser for PHP .ini files with comments


[ Top ]


Class Variables

$options = array()

[line 34]

This class options Not used at the moment

Type:   array


[ Top ]



Method Detail

Config_Container_IniCommented (Constructor)   [line 42]

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

Constructor
  • Access: public

Parameters:

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

[ Top ]

parseDatasrc   [line 55]

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 245]

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:49:13 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.