Ubiquity  2.0.2
php rapid development framework
QueryCache Class Reference
+ Inheritance diagram for QueryCache:

Public Member Functions

 fetch ($tableName, $condition)
 
 store ($tableName, $condition, $result)
 
 delete ($tableName, $condition)
 
- Public Member Functions inherited from DbCache
 __construct ()
 
 store ($tableName, $condition, $result)
 Caches the given data with the given key (tableName+md5(condition)). More...
 
 fetch ($tableName, $condition)
 Fetches data stored for the given condition in table. More...
 
 delete ($tableName, $condition)
 Deletes the entry corresponding to $condition apply to $table. More...
 
 clear ($matches="")
 
 remove ($key)
 
 setActive ($value=true)
 

Additional Inherited Members

- Static Public Attributes inherited from DbCache
static $active =false
 
- Protected Member Functions inherited from DbCache
 getKey ($query)
 
- Protected Attributes inherited from DbCache
 $cache
 
 $config
 

Detailed Description

Definition at line 8 of file QueryCache.php.

Member Function Documentation

◆ delete()

delete (   $tableName,
  $condition 
)

Definition at line 21 of file QueryCache.php.

◆ fetch()

fetch (   $tableName,
  $condition 
)

Definition at line 10 of file QueryCache.php.

◆ store()

store (   $tableName,
  $condition,
  $result 
)

Definition at line 17 of file QueryCache.php.


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