19 $this->cache=
new ArrayCache($cacheDirectory,
".query");
28 abstract public function store($tableName, $condition, $result);
36 abstract public function fetch($tableName, $condition);
44 abstract public function delete($tableName, $condition);
46 public function clear($matches=
"") {
47 $this->cache->clear($matches);
50 public function remove($key) {
51 $this->cache->remove($key);
fetch($tableName, $condition)
Fetches data stored for the given condition in table.
This class is responsible for storing Arrays in PHP files.
static getCacheDirectory()
store($tableName, $condition, $result)
Caches the given data with the given key (tableName+md5(condition)).