15 public function store($tableName, $condition, $result) {
16 $key = $this->
getKey ( $tableName, $condition );
17 $this->memoryCache [$key] = $result;
19 $this->toStore [] = $key;
21 $this->cache->store ( $key, $result );
25 public function delete($tableName, $condition) {
26 $key = $this->
getKey ( $tableName, $condition );
27 if ($this->cache->exists ( $key )) {
28 if (isset ( $this->memoryCache [$key] )) {
29 unset ( $this->memoryCache [$key] );
31 return $this->cache->remove ( $key );