production/Controleur/ControleurPlafondavantfacturecdec.php
2025-12-02 11:29:44 +00:00

25 lines
748 B
PHP
Executable File

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