symfony API

sfFilterConfigHandler Class

« Back to API menu

action

addon

cache

config

controller

countable

database

debug

exception

filter

generator

helper

i18n

log

request

response

storage

test

user

util

validator

view

You are currently browsing the symfony documentation for the 1.0 version. Switch to:

sfFilterConfigHandler allows you to register filters with the system.

Inheritence

sfFilterConfigHandler  <  sfYamlConfigHandler < sfConfigHandler

Method Summary

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

Methods inherited from sfYamlConfigHandler

parseYaml , parseYamls , getConfigValue , mergeConfigValue

Methods inherited from sfConfigHandler

execute , initialize , replaceConstants , replacePath , getParameterHolder

Method Details

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

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

    $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

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

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

    Adds a filter statement to the data.

    returns The PHP statement