[ Index ]
 

Code source de PHP PEAR 1.4.5

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

title

Body

[fermer]

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

Config parser for PHP constant files

Author: Phillip Oertel <me@phillipoertel.com>
Version: 0.1 (not submitted)
Poids: 199 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 4 fois
Nécessite: 1 fichier
 Config/Container.php

Définit 1 class

Config_Container_PHPConstants:: (4 méthodes):
  Config_Container_PHPConstants()
  parseDatasrc()
  toString()
  writeDatasrc()


Classe: Config_Container_PHPConstants  - X-Ref

Config_Container_PHPConstants($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

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

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

writeDatasrc($datasrc, &$obj)   X-Ref
Writes the configuration to a file

param: mixed  datasrc    info on datasource such as path to the file
param: string configType     (optional)type of configuration
return: string



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