23 lines
688 B
PHP
23 lines
688 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Derogation.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
class ControleurConsulterderogations extends Controleur {
|
|
private $menuvue;
|
|
private $derogation;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Consulterderogations');
|
|
|
|
$this->derogation = new Derogation();
|
|
}
|
|
public function index() {
|
|
$idDemandederogation = $this->requete->getParametre("id");
|
|
|
|
$derogation = $this->derogation->getDerogationIdCOnsultation($idDemandederogation);
|
|
|
|
$this->genererVue(array('derogation' => $derogation));
|
|
}
|
|
} |