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