symfony API

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

sfViewConfigHandler allows you to configure views.

Inheritence

sfViewConfigHandler  <  sfYamlConfigHandler < sfConfigHandler

Method Summary

  • string addComponentSlots($viewName = &apos;&apos;)
    Adds a component slot statement to the data.
  • string addEscaping($viewName = &apos;&apos;)
    Adds an escaping statement to the data.
  • string addHtmlAsset($viewName = &apos;&apos;)
    Adds stylesheets and javascripts statements to the data.
  • string addHtmlHead($viewName = &apos;&apos;)
    Adds http metas and metas statements to the data.
  • string addLayout($viewName = &apos;&apos;)
    Adds a layout statement statement to the data.
  • string addTemplate($viewName = &apos;&apos;)
    Adds a template setting statement to the data.
  • string execute($configFiles)
    Executes this configuration handler.
  • getConfiguration($configFiles)
  • mergeConfig($config)

Methods inherited from sfYamlConfigHandler

flattenConfiguration , flattenConfigurationWithEnvironment , getConfigValue , mergeConfigValue , parseYaml , parseYamls

Methods inherited from sfConfigHandler

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

Method Details

  • (string) addComponentSlots ($viewName = '') Browse code

    $viewName The view name

    Adds a component slot statement to the data.

    returns The PHP statement

  • (string) addEscaping ($viewName = '') Browse code

    $viewName The view name

    Adds an escaping statement to the data.

    returns The PHP statement

  • (string) addHtmlAsset ($viewName = '') Browse code

    $viewName The view name

    Adds stylesheets and javascripts statements to the data.

    returns The PHP statement

  • (string) addHtmlHead ($viewName = '') Browse code

    $viewName The view name

    Adds http metas and metas statements to the data.

    returns The PHP statement

  • (string) addLayout ($viewName = '') Browse code

    $viewName The view name

    Adds a layout statement statement to the data.

    returns The PHP statement

  • (string) addTemplate ($viewName = '') Browse code

    $viewName The view name

    Adds a template setting statement to the data.

    returns The PHP statement

  • (string) execute ($configFiles) Browse code

    $configFiles An array of 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

  • getConfiguration ($configFiles) Browse code

    $configFiles

  • mergeConfig ($config) Browse code

    $config