23 lines
781 B
PHP
23 lines
781 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Ententeprealable.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
class ControleurConsulterapprobationsubstitutionpha extends Controleur {
|
|
private $menuvue;
|
|
private $ententeprealable;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Consulterapprobationsubstitutionpha');
|
|
|
|
$this->ententeprealable = new Ententeprealable();
|
|
}
|
|
public function index() {
|
|
$idDemandeententeprealable = $this->requete->getParametre("id");
|
|
|
|
$ententeprealable = $this->ententeprealable->getApprobationSubstitutionphaId($idDemandeententeprealable);
|
|
|
|
$this->genererVue(array('ententeprealable' => $ententeprealable));
|
|
}
|
|
} |