Пример #1
0
 public function before()
 {
     parent::before();
     $this->plugins = $this->getContext()->getService('plugins');
     // set controller title
     $this->param_manager->setParam('controller_title', _i('Plugins'));
 }
Пример #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'));
 }
Пример #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'));
 }
Пример #4
0
 public function before()
 {
     parent::before();
     $this->param_manager->setParam('controller_title', _i('Account'));
 }
Пример #5
0
 public function before()
 {
     parent::before();
     $this->param_manager->setParam('controller_title', 'Nginx Cache Purge');
 }
Пример #6
0
 public function before()
 {
     parent::before();
     $this->radix_coll = $this->getContext()->getService('foolfuuka.radix_collection');
     $this->param_manager->setParam('controller_title', _i('Boards'));
 }
Пример #7
0
 public function before()
 {
     parent::before();
     $this->param_manager->setParam('controller_title', _i('GeoIP Region Lock'));
 }
Пример #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'));
 }
Пример #9
0
 public function before()
 {
     parent::before();
     // set controller title
     $this->param_manager->setParam('controller_title', _i('Preferences'));
 }