22 lines
661 B
PHP
22 lines
661 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Garantieadherent.php';
|
|
|
|
class ControleurPlafondavantfactureclassique extends Controleur {
|
|
private $menuvue;
|
|
private $garantieadherent;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Plafondavantfactureclassique');
|
|
|
|
$this->garantieadherent = new Garantieadherent();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$garantieadherents = $this->garantieadherent->getPlafondAvantFacture();
|
|
$this->genererVue(array('garantieadherents' => $garantieadherents));
|
|
}
|
|
} |