symfony API

sfYamlConfigHandler Class

« Back to API menu

1.0 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.0 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfYamlConfigHandler is a base class for YAML (.yml) configuration handlers. This class

Method Summary

  • string getConfigValue(, , )
    Gets a configuration value for a given key and category.
  • string mergeConfigValue(, )
    Merges configuration values for a given key and category.
  • string parseYaml()
    Parses a YAML (.yml) configuration file.
  • array parseYamls()
    Parses an array of YAMLs files and merges them in one configuration array.

Methods inherited from sfConfigHandler

execute , getParameterHolder , initialize , replaceConstants , replacePath

Method Details

  • (string) getConfigValue (, , ) Browse code

    Gets a configuration value for a given key and category.

    returns The value associated with this key name and category

  • (string) mergeConfigValue (, ) Browse code

    Merges configuration values for a given key and category.

    returns The value associated with this key name and category

  • (string) parseYaml () Browse code

    Parses a YAML (.yml) configuration file.

    returns A parsed .yml configuration

    throws sfConfigurationException If a requested configuration file does not exist or is not readable

  • (array) parseYamls () Browse code

    Parses an array of YAMLs files and merges them in one configuration array.

    returns A merged configuration array

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.