Beispiel #1
0
 public function before()
 {
     parent::before();
     $this->plugins = $this->getContext()->getService('plugins');
     // set controller title
     $this->param_manager->setParam('controller_title', _i('Plugins'));
 }
Beispiel #2
0
 /**
  * Check that the user is an admin or a moderator and
  */
 public function before()
 {
     parent::before();
     $this->radix_coll = $this->getContext()->getService('foolfuuka.radix_collection');
     $this->report_coll = $this->getContext()->getService('foolfuuka.report_collection');
     $this->ban_factory = $this->getContext()->getService('foolfuuka.ban_factory');
     $this->param_manager->setParam('controller_title', _i('Moderation'));
 }
Beispiel #3
0
 public function before()
 {
     parent::before();
     $this->series_factory = $this->context->getService('foolslide.series_factory');
     $this->release_factory = $this->context->getService('foolslide.release_factory');
     $this->page_factory = $this->context->getService('foolslide.page_factory');
     $this->param_manager->setParam('controller_title', _i('Reader'));
 }
Beispiel #4
0
 public function before()
 {
     parent::before();
     $this->param_manager->setParam('controller_title', _i('Account'));
 }
Beispiel #5
0
 public function before()
 {
     parent::before();
     $this->param_manager->setParam('controller_title', 'Nginx Cache Purge');
 }
Beispiel #6
0
 public function before()
 {
     parent::before();
     $this->radix_coll = $this->getContext()->getService('foolfuuka.radix_collection');
     $this->param_manager->setParam('controller_title', _i('Boards'));
 }
Beispiel #7
0
 public function before()
 {
     parent::before();
     $this->param_manager->setParam('controller_title', _i('GeoIP Region Lock'));
 }
Beispiel #8
0
 public function before()
 {
     parent::before();
     $this->board_stats = $this->getContext()->getService('foolslide-plugin.board_statistics');
     $this->param_manager->setParam('controller_title', _i('Plugins'));
 }
Beispiel #9
0
 public function before()
 {
     parent::before();
     // set controller title
     $this->param_manager->setParam('controller_title', _i('Preferences'));
 }