symfony API

sfFilterConfigHandler 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:

sfFilterConfigHandler allows you to register filters with the system.

Inheritence

sfFilterConfigHandler  <  sfYamlConfigHandler < sfConfigHandler

Method Summary

  • string addFilter($category, $class, $parameters)
    Adds a filter statement to the data.
  • string addSecurityFilter($category, $class, $parameters)
    Adds a security filter statement to the data.
  • string execute($configFiles)
    Executes this configuration handler
  • getConfiguration()
    @see sfConfigHandler

Methods inherited from sfYamlConfigHandler

flattenConfiguration , flattenConfigurationWithEnvironment , getConfigValue , mergeConfigValue , parseYaml , parseYamls

Methods inherited from sfConfigHandler

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

Method Details

  • (string) addFilter ($category, $class, $parameters) Browse code

    $category The category name
    $class The filter class name
    $parameters Filter default parameters

    Adds a filter statement to the data.

    returns The PHP statement

  • (string) addSecurityFilter ($category, $class, $parameters) Browse code

    $category The category name
    $class The filter class name
    $parameters Filter default parameters

    Adds a security filter 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 () Browse code

    @see sfConfigHandler