Cache class that stores cached content in a SQLite database.
Inheritence
sfSQLiteCache
<
sfCache
Method Summary
Methods inherited from sfCache
clean , get , getBackend , getLastModified , getLifetime , getMany , getOption , getTimeout , has , initialize , patternToRegexp , remove , removePattern , set , setOption , __construct
Method Details
-
clean ($mode = sfCache::ALL)
Browse code
-
Creates the database schema.
throws sfCacheException
-
get ($key, $default = null)
Browse code
-
-
getLastModified ($key)
Browse code
-
-
-
-
initialize ($options = array())
Browse code
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
-
-
removePattern ($pattern)
Browse code
-
removePatternRegexpCallback ($regexp, $key)
Browse code
Callback used when deleting keys from cache.
-
set ($key, $data, $lifetime = null)
Browse code
-
setDatabase ($database)
Browse code
| $database |
The database name where to store the cache
|
Sets the database name.
|