protected function _refresh() { parent::_refresh(); $this->_oldData = array(); $modelName = $this->getTableClass(); $model = new $modelName(); $bootstrap = Zend_Controller_Front::getInstance()->getParam('bootstrap'); if ($model->canUseCache() && $bootstrap) { $cache_id = Base_Model_Table::buildRequestCacheID($modelName, $this->_getPrimaryKey()); $cache = $bootstrap->getResource('cachemanager')->getCache('requestcache'); /* @var Zend_Cache_Core $cache */ $cache->save($this->_data, $cache_id); } }