Beispiel #1
0
 public function replace($key, $data, $silent = false)
 {
     $data = array_merge($data, $this->_keyLinkVal($key));
     $ret = instance::replace($this->write(), $this->table(), $data);
     if ($ret && $this->_cache_ok) {
         $this->_cacheSet($this->_cacheKey($key), $data, $this->_cache_ttl);
     }
     return $ret;
 }