示例#1
0
     $controller_obj = new HomeController($path, $registry);
     $controller_obj->process($_POST);
     break;
 case 'admin':
     $controller_obj = new AdminController($path, $registry);
     $controller_obj->process($_POST);
     break;
 case 'categories':
     $controller_obj = new CategoriesController($path, $registry);
     $controller_obj->process($_POST);
     break;
 case 'contact':
     break;
 case 'profile':
     $controller_obj = new ProfileController($path, $registry);
     $controller_obj->process($_POST);
     break;
 case 'login':
     $controller_obj = new LoginController($path, $registry);
     $controller_obj->process($_POST);
     break;
 case 'logout':
     $controller_obj = new LogoutController($path, $registry);
     $controller_obj->process();
     break;
 case 'signup':
     $controller_obj = new SignupController($path, $registry);
     $controller_obj->process($_POST);
     break;
 case 'search':
     $controller_obj = new VideoSearchController($path, $registry);