symfony API

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

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

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 sfParseException If a requested configuration file is improperly formatted

  • getConfiguration ($configFiles) Browse code

    $configFiles