getHelp(); } /** * Flushes all application cache data */ public function actionFlush() { Yii::app()->cache->flush(); ModuleManager::flushCache(); if (Yii::app()->cache instanceof CApcCache) { print "Warning: Could not flush APC Cache! - Restart Webserver!\n"; } print "All application caches flushed!\n"; } /** * Disables application cache */ public function actionDisable() { HSetting::Set('type', 'CDummyCache', 'cache'); print "Application Cache disabled!\n"; } public function getHelp() { return <<