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

Class: Config_Container_IniCommented

Source Location: /Config-1.10.12/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(
        'linebreak' => "\n"
    )

[line 34]

Options for this class:
  • linebreak - Character to use as new line break when serializing


Type:   array


[ Top ]



Method Detail

Config_Container_IniCommented (Constructor)   [line 44]

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

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 15:42:04 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.