garant/Controleur/ControleurCommanderbon.php
2025-12-05 10:57:03 +00:00

20 lines
502 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Typebon.php';
require_once 'Modele/Menuvueutilisateur.php';
class ControleurCommanderbon extends Controleur {
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Commanderbon');
$this->typebon = new Typebon();
}
public function index()
{
$typebon = $this->typebon->getListe();
$this->genererVue(array('typebon' => $typebon));
}
}