コード例 #1
0
ファイル: IndexController.php プロジェクト: roycocup/Tests
 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);
 }
コード例 #2
0
ファイル: Abstract.php プロジェクト: roycocup/Tests
 public static function flushCache(array $tags = array())
 {
     Showcase_Content_Cache::flushCache();
 }
コード例 #3
0
ファイル: Moderator.php プロジェクト: roycocup/Tests
 protected function _flush()
 {
     $chatId = $this->getActionController()->chat->id;
     Showcase_Content_Cache::flushCache($chatId);
 }