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