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