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(); }
public function before() { if ($this->controller instanceof Layout) { $layout = $this->controller->get_layout(); $layout->admin_menu = $this->menu_items; } parent::before(); }
public function before() { parent::before(); }