symfony API

sfConfigHandler Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« 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.

sfConfigHandler allows a developer to create a custom formatted configuration

Inheritence

sfYamlConfigHandler  <  sfConfigHandler

Method Summary

  • string execute()
    Executes this configuration handler
  • sfParameterHolder getParameterHolder()
    Gets the parameter holder for this configuration handler.
  • bool initialize()
    Initializes this configuration handler.
  • string replaceConstants()
    Replaces constant identifiers in a value.
  • string replacePath()
    Replaces a relative filesystem path with an absolute one.

Method Details

  • (string) execute () Browse code

    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

  • (sfParameterHolder) getParameterHolder () Browse code

    Gets the parameter holder for this configuration handler.

    returns A sfParameterHolder instance

  • (bool) initialize () Browse code

    Initializes this configuration handler.

    returns true, if initialization completes successfully, otherwise false

    throws sfInitializationException If an error occurs while initializing this ConfigHandler

  • (string) replaceConstants () Browse code

    Replaces constant identifiers in a value.


    If the value is an array replacements are made recursively.

    returns The new value

  • (string) replacePath () Browse code

    Replaces a relative filesystem path with an absolute one.

    returns The new path