prestation/Controleur/ControleurPlafondavantfacture.php
2025-12-01 18:54:33 +00:00

22 lines
643 B
PHP

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