예제 #1
0
파일: Row.php 프로젝트: knatorski/SMS
 /**
  * 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()));
     }
 }