public function mux() { $VAdmin = new View(); switch ($VAdmin->getTask()) { case 'manage_map': $this->getMap(); break; case 'rent_list': $this->getRentList(); break; case 'rent': $this->rent(); break; case 'modifyRent': $this->modifyRent(); break; case 'deleteRent': $this->deleteRent(); break; case 'close_season': $this->close_season(); break; case 'preview_map': $this->getPreviewMap(); break; } }
public function mux($logged) { $view = new View(); switch ($view->getTask()) { case 'show': return $this->show($logged); default: return $this->show($logged); } }
public function mux() { $view = new View(); switch ($view->getTask()) { case 'in': $this->verifyData(); break; case 'reset': $this->reset(); break; } }
public function mux() { $view = new View(); switch ($view->getTask()) { case 'setup': return $this->setup(); default: $VSetup = new VSetup(); $VSetup->display("setup_form.tpl"); break; } }
public function mux() { $view = new View(); switch ($view->getTask()) { case 'in': return $this->login(); case 'out': return $this->logout(); case 'sign': return $this->sign(); case 'confirmation': //da testare return $this->confirmation(); case 'forgotten': return $this->show('reset_form', ""); case 'reset_mail': return $this->reset_mail(); case 'reset_password': return $this->reset_password(); case 'new_password_form': return $this->new_password_form(); } }