Inheritance: extends System
コード例 #1
0
 /**
  * Overwrite for Automator::purgePageCache
  * Makes sure the forum layout is regenerated
  */
 public function purgePageCache()
 {
     $automator = new Automator();
     $automator->purgePageCache();
     System::getContainer()->get('phpbb_bridge.connector')->generateForumLayoutFiles();
     $this->log('Purged the phpbb forum cache', __METHOD__, TL_CRON);
 }
コード例 #2
0
 /**
  * Handle the page AJAX action
  */
 protected function handlePageAction()
 {
     $automator = new Automator();
     $automator->purgePageCache();
     header('HTTP/1.1 200 OK');
     die('OK');
 }
コード例 #3
0
 /**
  * Make the constuctor public
  */
 public function __construct()
 {
     parent::__construct();
 }