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

Class: Config_Container_IniFile

Source Location: /Config-1.10.10/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, &$obj, 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
   &$obj   — 

[ Top ]

toString   [line 99]

string toString( &$obj, object $obj)

Returns a formatted string of the object
  • Access: public

Parameters:

object   $obj   —  Container object to be output as string
   &$obj   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:57:44 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.