示例#1
0
 public function run($page)
 {
     switch ($page) {
         case 'index':
             $users = new UsersController();
             $users->runIndex();
             break;
         default:
             $home_view = new HomeView();
             $home_view->runIndex();
             break;
     }
 }