public function insert($key, $data, $return_last_id = false, $silent = false) { $data = array_merge($data, $this->_keyLinkVal($key)); $ret = instance::insert($this->read(), $this->table(), $data, $return_last_id, $silent); if ($ret !== false && $this->_cache_ok) { $this->_cacheSet($this->_cacheKey($key), $data, $this->_cache_ttl); } return $ret; }