Initial commit for radiantprestation project
This commit is contained in:
20
Controleur/ControleurCommanderbon.php
Normal file
20
Controleur/ControleurCommanderbon.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user