コード例 #1
0
ファイル: Needauth.php プロジェクト: doorframework/core
 public function before()
 {
     if (false == $this->app->auth->logged_in($this->login_role) && $this->redirect_uri != $this->request->uri()) {
         $this->redirect($this->redirect_uri);
     }
     parent::before();
 }
コード例 #2
0
ファイル: LeftMenu.php プロジェクト: doorframework/bspanel
 public function before()
 {
     if ($this->controller instanceof Layout) {
         $layout = $this->controller->get_layout();
         $layout->admin_menu = $this->menu_items;
     }
     parent::before();
 }
コード例 #3
0
ファイル: Layout.php プロジェクト: doorframework/core
 public function before()
 {
     parent::before();
 }