menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue("Ficheadherent"); $this->adherent = new Adherent(); $this->beneficiaire = new Beneficiaire(); $this->garantieadherent = new Garantieadherent(); } public function index() { $idPolice = $_SESSION['idPolice_C']; $idAdherent = $_SESSION['idAdherent_C']; $dateJour = date('Y-m-d'); $adherent = $this->adherent->getContexteAdherentId($idAdherent); $beneficiaires = $this->beneficiaire->getBeneficiairesId($idAdherent, $dateJour); $garantieadherents = $this->garantieadherent->getGarantieAdherent($idAdherent); $this->adherent->controlerplafondadherentannuel($idAdherent); $_SESSION['controlerPlafondBeneficiaire'] = "0"; $limite_adherent = $this->garantieadherent->getLimitesAdherent($idAdherent); $this->genererVue(array('adherent' => $adherent, 'beneficiaires' => $beneficiaires, 'garantieadherents' => $garantieadherents, 'limite_adherent' => $limite_adherent)); } }