Import initial du projet Production
This commit is contained in:
25
Controleur/ControleurParamdureeviebon.php
Normal file
25
Controleur/ControleurParamdureeviebon.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
|
||||
require_once 'Modele/Typebon.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurParamdureeviebon extends Controleur {
|
||||
private $menuvue;
|
||||
private $typebon;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Paramdureeviebon');
|
||||
|
||||
$this->typebon = new Typebon();
|
||||
}
|
||||
public function index()
|
||||
{
|
||||
$typebons = $this->typebon->getTypebon();
|
||||
$chemin = $this->menuvue->getChemin('Paramdureeviebon');
|
||||
|
||||
$this->genererVue(array('typebons' => $typebons ,'chemin' => $chemin
|
||||
));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user