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)
|