symfony API

sfFilterChain Class

« Back to API menu

action

addon

autoload

cache

command

config

controller

creole

database

debug

exception

filter

form

generator

helper

i18n

log

plugin

propel

request

response

routing

storage

task

test

user

util

validator

view

widget

You are currently browsing the symfony API for the 1.1 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.
  • loadConfiguration((sfComponent) $actionInstance)
    Loads filters configuration for a given action instance.

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.

  • loadConfiguration ((sfComponent) $actionInstance)

    $actionInstance A sfComponent instance

    Loads filters configuration for a given action instance.