20 lines
502 B
PHP
Executable File
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));
|
|
}
|
|
} |