28 lines
699 B
PHP
Executable File
28 lines
699 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Tarifsoptiques.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
class ControleurCompositiontarifverrescons extends Controleur
|
|
{
|
|
private $menuvue;
|
|
private $tarif;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Compositiontarifverrescons');
|
|
|
|
$this->tarif = new Tarifsoptiques();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$tarifs = $this->tarif->getListe();
|
|
|
|
$chemin = $this->menuvue->getChemin('Compositiontarifverrescons');
|
|
|
|
$this->genererVue(array('tarifs' => $tarifs,
|
|
'chemin' => $chemin));
|
|
}
|
|
} |