Import initial du projet Production
This commit is contained in:
25
Controleur/ControleurRefuseracteexclu.php
Normal file
25
Controleur/ControleurRefuseracteexclu.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Ententeprealable.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurRefuseracteexclu extends Controleur {
|
||||
private $menuvue;
|
||||
private $derogation;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Refuseracteexclu');
|
||||
|
||||
$this->ententeprealable = new Ententeprealable();
|
||||
}
|
||||
public function index() {
|
||||
$idDemandeautorisation = $this->requete->getParametre("id");
|
||||
|
||||
$ententeprealable = $this->ententeprealable->getActeExcluId($idDemandeautorisation);
|
||||
|
||||
$chemin = $this->menuvue->getChemin('Refuseracteexclu');
|
||||
|
||||
$this->genererVue(array('ententeprealable' => $ententeprealable, 'chemin' => $chemin));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user