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

22 lines
657 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Garantieadherent.php';
class ControleurPlafondavantfactureconsben extends Controleur {
private $menuvue;
private $garantieadherent;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Plafondavantfactureconsben');
$this->garantieadherent = new Garantieadherent();
}
public function index()
{
$garantieadherents = $this->garantieadherent->getPlafondAvantFacture();
$this->genererVue(array('garantieadherents' => $garantieadherents));
}
}