symfony API

sfDefineEnvironmentConfigHandler Class

« Back to API menu

action

addon

autoload

cache

command

config

controller

creole

database

debug

exception

filter

form

generator

helper

i18n

log

plugin

propel

request

response

routing

storage

task

test

user

util

validator

view

widget

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

Inheritence

sfDefineEnvironmentConfigHandler  <  sfYamlConfigHandler < sfConfigHandler

Method Summary

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

Methods inherited from sfYamlConfigHandler

flattenConfiguration , parseYaml , flattenConfigurationWithEnvironment , parseYamls , getConfigValue , mergeConfigValue

Methods inherited from sfConfigHandler

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

Method Details

  • (string) execute ($configFiles)

    $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)

    $category The category name
    $prefix The prefix

    Fixes the category name.

    returns The fixed category name

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

    $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

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

    $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)