[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/config/ -> sfConfigHandler.class.php (sommaire)

sfConfigHandler allows a developer to create a custom formatted configuration file pertaining to any information they like and still have it auto-generate PHP code.

Author: Fabien Potencier <fabien.potencier@symfony-project.com>
Author: Sean Kerr <skerr@mojavi.org>
Version: SVN: $Id: sfConfigHandler.class.php 3203 2007-01-09 18:32:54Z fabien $
Poids: 105 lignes (3 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 4 fonctions

  initialize()
  replaceConstants()
  replacePath()
  getParameterHolder()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

initialize($parameters = null)   X-Ref
Initializes this configuration handler.

param: array An associative array of initialization parameters
return: bool true, if initialization completes successfully, otherwise false

replaceConstants($value)   X-Ref
Replaces constant identifiers in a value.

If the value is an array replacements are made recursively.

param: mixed The value on which to run the replacement procedure
return: string The new value

replacePath($path)   X-Ref
Replaces a relative filesystem path with an absolute one.

param: string A relative filesystem path
return: string The new path

getParameterHolder()   X-Ref
Gets the parameter holder for this configuration handler.

return: sfParameterHolder A sfParameterHolder instance



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7