symfony API

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

sfViewConfigHandler allows you to configure views.

Inheritence

sfViewConfigHandler  <  sfYamlConfigHandler < sfConfigHandler

Method Summary

  • string addComponentSlots()
    Adds a component slot statement to the data.
  • string addEscaping()
    Adds an escaping statement to the data.
  • string addHtmlAsset()
    Adds stylesheets and javascripts statements to the data.
  • string addHtmlHead()
    Adds http metas and metas statements to the data.
  • string addLayout()
    Adds a layour statement statement to the data.
  • string addTemplate()
    Adds a template setting statement to the data.
  • string execute()
    Executes this configuration handler.
  • mergeConfig()
    Merges assets and environement configuration.

Methods inherited from sfYamlConfigHandler

getConfigValue , mergeConfigValue , parseYaml , parseYamls

Methods inherited from sfConfigHandler

execute , getParameterHolder , initialize , replaceConstants , replacePath

Method Details

  • (string) addComponentSlots () Browse code

    Adds a component slot statement to the data.

    returns The PHP statement

  • (string) addEscaping () Browse code

    Adds an escaping statement to the data.

    returns The PHP statement

  • (string) addHtmlAsset () Browse code

    Adds stylesheets and javascripts statements to the data.

    returns The PHP statement

  • (string) addHtmlHead () Browse code

    Adds http metas and metas statements to the data.

    returns The PHP statement

  • (string) addLayout () Browse code

    Adds a layour statement statement to the data.

    returns The PHP statement

  • (string) addTemplate () Browse code

    Adds a template setting statement to the data.

    returns The PHP statement

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

  • mergeConfig () Browse code

    Merges assets and environement configuration.