Beispiel #1
0
            break;
        case ConfigApp::$ACTION_AGREGAR_HABITACION:
            $mainController = new controller();
            $mainController->agregarHabitacion();
            break;
        case ConfigApp::$ACTION_ELIMINAR_HABITACION:
            $mainController = new controller();
            $mainController->eliminarHabitacion();
            break;
        case ConfigApp::$ACTION_AGREGAR_COMPONENTE:
            $mainController = new controller();
            ChromePhp::log("accioncomponente");
            $mainController->agregarComponente();
            break;
        case ConfigApp::$ACTION_ELIMINAR_COMPONENTE:
            $mainController = new controller();
            $mainController->eliminarComponente();
            break;
        case ConfigApp::$ACTION_REFRESCAR_DROPY_ELIMINAR_COMPONENTE:
            $mainController = new controller();
            $mainController->refrescarDropyEliminarComponente();
            break;
        case ConfigApp::$ACTION_REFRESCAR_ADMINISTRAR:
            $mainController = new controller();
            $mainController->refrescarAdministrar();
            break;
        default:
            echo 'Pagina no encontrada';
            break;
    }
}