menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue("Plafondadherent"); $this->adherent = new Adherent(); $this->garantieadherent = new Garantieadherent(); } public function index() { $idAdherent = $_SESSION['idAdherent_C']; $adherent = $this->adherent->getContexteAdherentId($idAdherent); $exercieReference = $_SESSION['exercieReference_C']; $idEntetecontrat = $_SESSION['idEntetecontrat']; $entecontrats = $this->garantieadherent->getlisteentetecontratadherent($idAdherent); $garantieadherents = $this->garantieadherent->getGarantieAdherentEnteteContrat($idAdherent, $idEntetecontrat); $this->genererVue(array('adherent' => $adherent, 'garantieadherents' => $garantieadherents, 'entecontrats' => $entecontrats)); } }