symfony API

sfCacheFilter Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu

1.3 API OpenSearch


You are currently browsing the symfony API for the 1.3 version. Switch to:

sfCacheFilter deals with page caching and action caching.


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 ($filterChain) Browse code

    $filterChain A sfFilterChain instance

    Executes this filter.

  • executeBeforeExecution () Browse code

  • executeBeforeRendering () Browse code

    Executes this filter.

  • (bool) initialize ($context, $parameters) 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.