コード例 #1
0
ファイル: Plugins.php プロジェクト: KasaiDot/FoolFrame
 public function before()
 {
     parent::before();
     $this->plugins = $this->getContext()->getService('plugins');
     // set controller title
     $this->param_manager->setParam('controller_title', _i('Plugins'));
 }
コード例 #2
0
ファイル: Moderation.php プロジェクト: procod3R/FoolFuuka
 /**
  * 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
ファイル: Reader.php プロジェクト: KasaiDot/FoolSlide2
 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
ファイル: Account.php プロジェクト: KasaiDot/FoolFrame
 public function before()
 {
     parent::before();
     $this->param_manager->setParam('controller_title', _i('Account'));
 }
コード例 #5
0
ファイル: admin.php プロジェクト: procod3R/FoolFuuka
 public function before()
 {
     parent::before();
     $this->param_manager->setParam('controller_title', 'Nginx Cache Purge');
 }
コード例 #6
0
ファイル: Boards.php プロジェクト: voh/FoolFuuka
 public function before()
 {
     parent::before();
     $this->radix_coll = $this->getContext()->getService('foolfuuka.radix_collection');
     $this->param_manager->setParam('controller_title', _i('Boards'));
 }
コード例 #7
0
ファイル: admin.php プロジェクト: KasaiDot/FoolSlide2
 public function before()
 {
     parent::before();
     $this->param_manager->setParam('controller_title', _i('GeoIP Region Lock'));
 }
コード例 #8
0
ファイル: admin.php プロジェクト: KasaiDot/FoolSlide2
 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
ファイル: Preferences.php プロジェクト: KasaiDot/FoolFrame
 public function before()
 {
     parent::before();
     // set controller title
     $this->param_manager->setParam('controller_title', _i('Preferences'));
 }