symfony API

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

sfCacheConfigHandler allows you to configure cache.

Inheritence

sfCacheConfigHandler  <  sfYamlConfigHandler < sfConfigHandler

Method Summary

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

Methods inherited from sfYamlConfigHandler

flattenConfiguration , flattenConfigurationWithEnvironment , getConfigValue , mergeConfigValue , parseYaml , parseYamls

Methods inherited from sfConfigHandler

execute , getConfiguration , getParameterHolder , initialize , replaceConstants , replacePath , __construct

Method Details

  • (string) addCache ($actionName = '') Browse code

    $actionName The action name

    Returns a single addCache statement.

    returns PHP code for the addCache statement

  • (string) execute ($configFiles) Browse code

    $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

  • getConfiguration ($configFiles) Browse code

    $configFiles