|
Ubiquity 2.5.2
php rapid development framework
|
Ubiquity\cache\database$QueryCache This class is part of Ubiquity. More...
Inheritance diagram for QueryCache:Public Member Functions | |
| store ($tableName, $condition, $result) | |
| Caches the given data with the given key (tableName+md5(condition)). | |
| delete ($tableName, $condition) | |
| Deletes the entry corresponding to $condition apply to $table. | |
Public Member Functions inherited from DbCache | |
| __construct ($cacheSystem=ArrayCache::class, $config=[]) | |
| fetch ($tableName, $condition) | |
| Fetches data stored for the given condition in table. | |
| clear ($matches='') | |
| remove ($key) | |
| setActive ($value=true) | |
| storeDeferred () | |
Additional Inherited Members | |
Static Public Attributes inherited from DbCache | |
| static | $active = false |
Protected Member Functions inherited from DbCache | |
| getKey ($tableName, $condition) | |
| getMemoryCache ($key) | |
Protected Attributes inherited from DbCache | |
| $cache | |
| $memoryCache | |
| $storeDeferred | |
| $toStore = [ ] | |
Ubiquity\cache\database$QueryCache This class is part of Ubiquity.
Definition at line 13 of file QueryCache.php.
| delete | ( | $tableName, | |
| $condition | |||
| ) |
Deletes the entry corresponding to $condition apply to $table.
| string | $tableName | |
| string | $condition |
Reimplemented from DbCache.
Definition at line 25 of file QueryCache.php.
| store | ( | $tableName, | |
| $condition, | |||
| $result | |||
| ) |
Caches the given data with the given key (tableName+md5(condition)).
| string | $tableName | |
| string | $condition | |
| array | $result | the datas to store |
Reimplemented from DbCache.
Definition at line 15 of file QueryCache.php.