public function index() { $this->setup = array("title" => "Dashboard"); Menu::setActiveMenu('dashboard'); $this->content = "pages/dashboard/dashboard.php"; $this->render(); }
public function viewList() { $this->setup = array("title" => "Member List"); Menu::setActiveParent('members'); Menu::setActiveMenu('member_list'); $this->content = "pages/members/list.php"; $this->render(); }
public function edit() { if (!Authentication::authRole(['staff'])) { View::redirect('./'); return; } $this->setup = array("title" => "Edit Staff Profile"); Menu::setActiveParent('staff_profile'); Menu::setActiveMenu('staff_profile_edit'); $this->content = "pages/staff-profile/edit.php"; $this->render(); }