10 public function store($tableName, $condition, $result) {
12 $exists[$this->
getKey($condition)]=$result;
13 $this->cache->store($tableName,
"return " .
UArray::asPhpArray($exists,
"array") .
";");
17 if ($this->cache->exists($tableName))
18 return $this->cache->fetch($tableName);
23 if (isset($this->arrayCache[$tableName]))
24 return $this->arrayCache[$tableName];
25 if ($this->cache->exists($tableName)) {
26 return $this->arrayCache[$tableName]=$this->cache->fetch($tableName);
31 public function fetch($tableName, $condition) {
33 $key=$this->
getKey($condition);
40 public function delete($tableName, $condition){
42 $key=$this->
getKey($condition);
static asPhpArray($array, $prefix="")
store($tableName, $condition, $result)
getArrayCache($tableName)
fetch($tableName, $condition)