| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
sfYamlConfigHandler is a base class for YAML (.yml) configuration handlers. This class provides a central location for parsing YAML files and detecting required categories.
| Author: | Fabien Potencier <fabien.potencier@symfony-project.com> |
| Version: | SVN: $Id: sfYamlConfigHandler.class.php 3203 2007-01-09 18:32:54Z fabien $ |
| Poids: | 134 lignes (4 kb) |
| Inclus ou requis: | 1 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
| parseYamls($configFiles) X-Ref |
| Parses an array of YAMLs files and merges them in one configuration array. param: array An array of configuration file paths param: array A merged configuration array |
| parseYaml($configFile) X-Ref |
| Parses a YAML (.yml) configuration file. param: string An absolute filesystem path to a configuration file return: string A parsed .yml configuration |
| mergeConfigValue($keyName, $category) X-Ref |
| Merges configuration values for a given key and category. param: string The key name param: string The category name return: string The value associated with this key name and category |
| getConfigValue($keyName, $category, $defaultValue = null) X-Ref |
| Gets a configuration value for a given key and category. param: string The key name param: string The category name param: string The default value return: string The value associated with this key name and category |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |