コード例 #1
0
 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;
     }
 }
コード例 #2
0
 public function mux($logged)
 {
     $view = new View();
     switch ($view->getTask()) {
         case 'show':
             return $this->show($logged);
         default:
             return $this->show($logged);
     }
 }
コード例 #3
0
ファイル: ALog.class.php プロジェクト: AngeloDamiani/MyBeach
 public function mux()
 {
     $view = new View();
     switch ($view->getTask()) {
         case 'in':
             $this->verifyData();
             break;
         case 'reset':
             $this->reset();
             break;
     }
 }
コード例 #4
0
 public function mux()
 {
     $view = new View();
     switch ($view->getTask()) {
         case 'setup':
             return $this->setup();
         default:
             $VSetup = new VSetup();
             $VSetup->display("setup_form.tpl");
             break;
     }
 }
コード例 #5
0
ファイル: CLog.class.php プロジェクト: AngeloDamiani/MyBeach
 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();
     }
 }