示例#1
0
 case "checkLoggedIn":
     $UserController->checkLoggedIn();
     break;
 case "isAdmin":
     $UserController->isAdmin();
     break;
 case "login":
     $UserController->login();
     break;
 case "logout":
     $UserController->logout();
     break;
     // Project Methods
 // Project Methods
 case "createProject":
     $ProjectController->createProject();
     break;
 case "deleteProject":
     $ProjectController->deleteProject();
     break;
 case "getProject":
     $ProjectController->getProject();
     break;
 case "getProjects":
     $ProjectController->getProjects();
     break;
     // Page Methods
 // Page Methods
 case "createPage":
     $PageController->createPage();
     break;