public function init() { if ($this->_getParam('flushCache')) { Showcase_Content_Cache::flushCache(); $this->view->assign('cacheCleared', true); } $mainMenu = new Showcase_Admin_Menus(); $this->view->assign('mainMenu', $mainMenu->mainMenu); $welcome = 'Welcome to the administration <br> Please select a link from the menu.'; $this->view->assign('welcome', $welcome); }
protected function _flush() { $chatId = $this->getActionController()->chat->id; Showcase_Content_Cache::flushCache($chatId); }
public static function flushCache(array $tags = array()) { Showcase_Content_Cache::flushCache(); }
public function _cache() { return Showcase_Content_Cache::fetchCache(); }