symfony API

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

sfFilterChain manages registered filters for a specific context.

Method Summary

  • boolean hasFilter($class)
    Returns true if the filter chain contains a filter of a given class.
  • execute()
    Executes the next filter in this chain.
  • register((sfFilter) $filter)
    Registers a filter with this chain.

Method Details

  • (boolean) hasFilter ($class)

    $class The class name of the filter

    Returns true if the filter chain contains a filter of a given class.

    returns true if the filter exists, false otherwise

  • execute ()

    Executes the next filter in this chain.

  • register ((sfFilter) $filter)

    $filter A sfFilter implementation instance.

    Registers a filter with this chain.