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