symfony API

sfSQLiteCache Class

« Back to API menu

action

addon

autoload

cache

command

config

controller

creole

database

debug

exception

filter

form

generator

helper

i18n

log

plugin

propel

request

response

routing

storage

task

test

user

util

validator

view

widget

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

Cache class that stores cached content in a SQLite database.

Inheritence

sfSQLiteCache  <  sfCache

Method Summary

Methods inherited from sfCache

__construct , removePattern , getTimeout , initialize , get , getLifetime , patternToRegexp , getBackend , remove , set , clean , getLastModified , getOption , has , getMany , setOption

Method Details

  • removePattern ($pattern)

  • getTimeout ($key)

  • removePatternRegexpCallback ($regexp, $key)

    Callback used when deleting keys from cache.

  • createSchema ()

    Creates the database schema.

    throws sfCacheException

  • initialize ($options = array())

    Initializes this sfCache instance.

    Available options:
    * database: File where to put the cache database (or :memory: to store cache in memory)
    * see sfCache for options available for all drivers

  • get ($key, $default = null)

  • getBackend ()

  • remove ($key)

  • set ($key, $data, $lifetime = null)

  • clean ($mode = sfCache::ALL)

  • setDatabase ($database)

    $database The database name where to store the cache

    Sets the database name.

  • getLastModified ($key)

  • has ($key)

  • getMany ($keys)