23 lines
603 B
PHP
23 lines
603 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Utilisateur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Typebon.php';
|
|
|
|
class ControleurPrestatairegestionbon extends Controleur
|
|
{
|
|
private $typebon;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Prestatairegestionbon');
|
|
|
|
$this->typebon = new Typebon();
|
|
}
|
|
public function index()
|
|
{
|
|
$typegestion = $this->typebon->getListeGestion();
|
|
|
|
$this->genererVue(array('typegestion' => $typegestion));
|
|
}
|
|
} |