[ Index ]
 

Code source de PHP PEAR 1.4.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Config/Container/ -> IniCommented.php (sommaire)

(pas de description)

Poids: 327 lignes (14 kb)
Inclus ou requis:0 fois
Référencé: 4 fois
Nécessite: 0 fichiers

Définit 1 class

Config_Container_IniCommented:: (5 méthodes):
  Config_Container_IniCommented()
  parseDatasrc()
  _quoteAndCommaParser()
  _getQACEvent()
  toString()


Classe: Config_Container_IniCommented  - X-Ref

Config parser for PHP .ini files with comments

Config_Container_IniCommented($options = array()   X-Ref
Constructor

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

parseDatasrc($datasrc, &$obj)   X-Ref
Parses the data of the given configuration file

param: string $datasrc    path to the configuration file
param: object $obj        reference to a config object
return: mixed returns a PEAR_ERROR, if error occurs or true if ok

_quoteAndCommaParser($text)   X-Ref
Quote and Comma Parser for INI files

This function allows complex values such as:

<samp>
mydirective = "Item, number \"1\"", Item 2 ; "This" is really, really tricky
</samp>
author: Greg Beaver <cellog@users.sourceforge.net>
param: string  $text    value of a directive to parse for quotes/multiple values
return: array   The array returned contains multiple values, if any (unquoted literals

_getQACEvent($stack)   X-Ref
Retrieve the state off of a state stack for the Quote and Comma Parser

author: Greg Beaver <cellog@users.sourceforge.net>
param: array  $stack    The parser state stack

toString(&$obj)   X-Ref
Returns a formatted string of the object

param: object  $obj    Container object to be output as string
return: string



Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7