symfony API

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

sfCacheFilter deals with page caching and action caching.

Inheritence

sfCacheFilter  <  sfFilter

Method Summary

Methods inherited from sfFilter

getContext , getParameter , getParameterHolder , hasParameter , initialize , isFirstCall , setParameter , __construct

Method Details

  • checkCacheValidation () Browse code

    Checks cache validation headers.

  • execute ((sfFilterChain) $filterChain) Browse code

    $filterChain A sfFilterChain instance

    Executes this filter.

  • executeBeforeExecution () Browse code

  • executeBeforeRendering () Browse code

    Executes this filter.

  • (bool) initialize ((sfContext) $context, $parameters = array()) Browse code

    $context The current application context
    $parameters An associative array of initialization parameters

    Initializes this Filter.

    returns true, if initialization completes successfully, otherwise false

    throws sfInitializationException If an error occurs while initializing this Filter

  • setCacheExpiration ($uri) Browse code

    $uri An internal URI

    Sets cache expiration headers.

  • setCacheValidation ($uri) Browse code

    $uri An internal URI

    Sets cache validation headers.