prestation/Controleur/ControleurGctypegarant.php
2025-12-05 10:42:46 +00:00

26 lines
578 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Gestionconfiee.php';
class ControleurGctypegarant extends Controleur {
private $menuvue;
private $type;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue("Gctypegarant");
$this->type = new Gestionconfiee();
}
public function index() {
$typesgarant = $this->type->getGcTypeGarant();
$this->genererVue(array(
'typesgarant' => $typesgarant
));
}
}