Beispiel #1
0
 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);
 }
Beispiel #2
0
 protected function _flush()
 {
     $chatId = $this->getActionController()->chat->id;
     Showcase_Content_Cache::flushCache($chatId);
 }
Beispiel #3
0
 public static function flushCache(array $tags = array())
 {
     Showcase_Content_Cache::flushCache();
 }
Beispiel #4
0
 public function _cache()
 {
     return Showcase_Content_Cache::fetchCache();
 }