/** * Czyści klucz na podstawie wygenerowanego identyfikatora */ protected function removeCache() { $bootstrap = Zend_Controller_Front::getInstance()->getParam('bootstrap'); if ($bootstrap) { $cache = $bootstrap->getResource('cachemanager')->getCache('requestcache'); /* @var Zend_Cache_Core $cache */ $cache->remove(Base_Model_Table::buildRequestCacheID($this->getTableClass(), $this->_getPrimaryKey())); } }