symfony API

sfDefineEnvironmentConfigHandler Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.4 version. Switch to:

@package symfony

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()
    @see sfConfigHandler
  • 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 sfConfigurationException If a requested configuration file does not exist or is not readable

  • (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 () Browse code

    @see sfConfigHandler

  • (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