public function mux() { $view = new VAdmin(); switch ($view->getTask()) { case 'manage_info': return $this->getInfoPage(); case 'rent_list': return $this->rentList(); case 'change_password': return $this->change_password(); } }
public function mux() { $view = new VAdmin(); switch ($view->getTask()) { case 'manage_map': return $this->getMap(); case 'manage_data': return $this->dataManagement(); case 'modify_site_data': return $this->modify_site_data(); case 'modify_static': return $this->modify_static(); case 'open_season_form': return $view->fetch('start_season.tpl'); case 'open_season': return $this->openSeason(); } }