symfony API

sfFilterChain Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.0 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.0 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.

sfFilterChain manages registered filters for a specific context.

Method Summary

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

Method Details

  • execute () Browse code

    Executes the next filter in this chain.

  • (boolean) hasFilter () Browse code

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

    returns true if the filter exists, false otherwise

  • register () Browse code

    Registers a filter with this chain.