symfony API

sfDefineEnvironmentConfigHandler Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 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.

Inheritence

sfDefineEnvironmentConfigHandler  <  sfYamlConfigHandler < sfConfigHandler

Method Summary

  • string execute($configFiles)
    Executes this configuration handler.
  • string fixCategoryName($category, $prefix)
    Fixes the category name.
  • string fixCategoryValue($category, $key, $value)
    Fixes the category name and replaces constants in the value.
  • getConfiguration($configFiles)
  • array getValues($prefix, $category, $keys)
    Gets values from the configuration array.

Methods inherited from sfYamlConfigHandler

flattenConfiguration , flattenConfigurationWithEnvironment , getConfigValue , mergeConfigValue , parseYaml , parseYamls

Methods inherited from sfConfigHandler

execute , getConfiguration , getParameterHolder , initialize , replaceConstants , replacePath , __construct

Method Details

  • (string) execute ($configFiles) Browse code

    $configFiles An absolute filesystem path to a configuration file

    Executes this configuration handler.

    returns Data to be written to a cache file

    throws sfParseException If a requested configuration file is improperly formatted

  • (string) fixCategoryName ($category, $prefix) Browse code

    $category The category name
    $prefix The prefix

    Fixes the category name.

    returns The fixed category name

  • (string) fixCategoryValue ($category, $key, $value) Browse code

    $category The category name
    $key The key name
    $value The value

    Fixes the category name and replaces constants in the value.

    returns Return the new key and value

  • getConfiguration ($configFiles) Browse code

    $configFiles

  • (array) getValues ($prefix, $category, $keys) Browse code

    $prefix The prefix name
    $category The category name
    $keys The key/value array

    Gets values from the configuration array.

    returns The new key/value array