prestation/Controleur/ControleurRemplaceradherent.php
2025-12-01 18:54:33 +00:00

35 lines
771 B
PHP

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Adherent.php';
require_once 'Modele/Menuvueutilisateur.php';
class ControleurRemplaceradherent extends Controleur {
private $menuvue;
private $adherent;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Remplaceradherent');
$this->adherent = new Adherent();
}
public function index()
{
$idPolice = $_SESSION['idPolice_C'];
$idAdherent = $_SESSION['idAdherent_C'];
// $adherent = $this->adherent->getAdherentIdConso($idAdherent);
$adherent = $this->adherent->getAdherentIdRempl($idAdherent);
$this->genererVue(array('adherent' => $adherent));
}
}