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

25 lines
632 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Typebon.php';
require_once 'Modele/Menuvueutilisateur.php';
class ControleurParambons extends Controleur {
private $menuvue;
private $typebon;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Parambons');
$this->typebon = new Typebon();
}
public function index()
{
$typebons = $this->typebon->getTypebonParam();
$chemin = $this->menuvue->getChemin('Parambons');
$this->genererVue(array('typebons' => $typebons ,'chemin' => $chemin
));
}
}