spunQ_SQLiteCache Class Reference

A cache using a SQLite file. More...

Inheritance diagram for spunQ_SQLiteCache:

List of all members.

Public Member Functions

 __construct (spunQ_File $file)
 Constructor.
 store ($key, $value, $timeout=0)
 retrieve ($key, &$value)
 invalidate ($key)
 clear ()

Protected Member Functions

 initTables ()
 Initialize the required sqlite tables.
 query ($query)
 Perform a query and check for errors.

Protected Attributes

 $sqlite
 The SQLiteDatabase object.


Detailed Description

A cache using a SQLite file.

Definition at line 6 of file SQLiteCache.class.php.


Constructor & Destructor Documentation

spunQ_SQLiteCache::__construct ( spunQ_File file  ) 

Constructor.

Parameters:
$file The file to use as database.

Definition at line 17 of file SQLiteCache.class.php.


Member Function Documentation

spunQ_SQLiteCache::initTables (  )  [protected]

Initialize the required sqlite tables.

Returns:
void

Definition at line 75 of file SQLiteCache.class.php.

spunQ_SQLiteCache::query ( query  )  [protected]

Perform a query and check for errors.

Parameters:
$query The query string
Returns:
SQLiteResult

Definition at line 94 of file SQLiteCache.class.php.


The documentation for this class was generated from the following file:

Generated on Fri Jul 1 11:12:44 2011 for spunQ3 by  doxygen 1.5.9