public function actionViewTable($table) { $tableView = new tableDrawing($table); $this->response = $tableView->getTable(); }
case 'customers': { switch ($arrPath[1]) { case 'registration': $parameters = explode('?', $arrPath[2]); $controller = new customersRegistrationController( $_GET['handler'] ? : 'roomProcessing.php', $_GET ); $content = $controller->getFormRegistration(); break; case 'roomProcessing.php': $room = new roomProcessing(); break; case 'authorization': $controller = new customersAuthorizarionController($_REQUEST); $content = $controller->getFormAuthorization(); break; case 'showtable': $table = new tableDrawing($arrPath[2]); echo $table->getTable(); break; case 'office': $office = new customersOfficeController(); break; // default: // echo 'Hello, customers!'; } break; } break; case 'investors':{ $controller = new investorsController(); switch ($arrPath[1]){ case 'admin':