Beispiel #1
0
                 $projectController->joinProject();
             } else {
                 $projectController->render();
             }
             break;
     }
     break;
 case "activity":
     $activityController = new ActivityController($route[2]);
     $where = $route[2];
     switch ($where) {
         case 'postComment':
             $activityController->postComment();
             break;
         default:
             $activityController->render();
             break;
     }
     break;
 case "fileUpload":
     require_once "controllers/FilesController.class.php";
     break;
 case "profile":
     $profileController = new ProfileController($route[2]);
     $where = $route[3];
     switch ($where) {
         case 'activities':
             $profileController->getNextActivities();
             break;
         case 'ideas':
             $profileController->getNextIdeas();