symfony API

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

sfCacheFilter deals with page caching and action caching.

Inheritence

sfCacheFilter  <  sfFilter

Method Summary

Methods inherited from sfFilter

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

Method Details

  • setPageCache ($uri)

    $uri The internal URI

    Sets a page template in the cache.

  • executeBeforeRendering ((sfFilterChain) 0)

    0 A sfFilterChain instance.

    Executes this filter.

  • getActionCache ($uri)

    $uri The internal URI

    Gets an action template from the cache.

  • execute ((sfFilterChain) $filterChain)

    $filterChain A sfFilterChain instance

    Executes this filter.

  • executeBeforeExecution ()

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

    $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

  • getPageCache ($uri)

    $uri The internal URI

    Gets a page template from the cache.

  • setActionCache ($uri)

    $uri The internal URI

    Sets an action template in the cache.