symfony API

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

sfCacheConfigHandler allows you to configure cache.

Inheritence

sfCacheConfigHandler  <  sfYamlConfigHandler < sfConfigHandler

Method Summary

  • string execute($configFiles)
    Executes this configuration handler.
  • string addCache($actionName = &apos;&apos;)
    Returns a single addCache statement.

Methods inherited from sfYamlConfigHandler

parseYaml , parseYamls , getConfigValue , mergeConfigValue

Methods inherited from sfConfigHandler

execute , initialize , replaceConstants , replacePath , getParameterHolder

Method Details

  • (string) execute ($configFiles)

    $configFiles An array of absolute filesystem path to a configuration file

    Executes this configuration handler.

    returns Data to be written to a cache file

    throws sfConfigurationException If a requested configuration file does not exist or is not readable

  • (string) addCache ($actionName = &apos;&apos;)

    $actionName The action name

    Returns a single addCache statement.

    returns PHP code for the addCache statement