production/Controleur/ControleurConsulterapprobationsubstitutionpha.php
2025-12-02 11:29:44 +00:00

25 lines
887 B
PHP
Executable File

<?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);
$chemin = $this->menuvue->getChemin('Consulterapprobationsubstitutionpha');
$this->genererVue(array('ententeprealable' => $ententeprealable,'chemin' => $chemin));
}
}