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

Class: Config_Container_GenericConf

Source Location: /Config-1.10.12/Config/Container/GenericConf.php

Class Overview


Config parser for generic .conf files like htdig.conf...


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 27]
Config parser for generic .conf files like htdig.conf...


[ Top ]


Class Variables

$options = array()

[line 37]

This class options:

Ex: $options['comment'] = '#'; Ex: $options['equals'] = ':'; Ex: $options['newline'] = '\\';


Type:   array


[ Top ]



Method Detail

Config_Container_GenericConf (Constructor)   [line 45]

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

Constructor
  • Access: public

Parameters:

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

[ Top ]

parseDatasrc   [line 67]

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

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 Fri, 24 Dec 2010 08:30:04 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.