menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Exclusionstandards'); $this->feuillemaladie = new Feuillemaladie(); $this->adherent = new Adherent(); $this->beneficiaire = new Beneficiaire(); $this->garantieadherent = new Garantieadherent(); $this->garantie = new Garantie(); } public function index() { $idAdherent = $_SESSION['idAdherent_C']; $d1 = $_SESSION['dUneSemaineAvant_C']; $d2 = date('Y-m-d'); $feuillemaladies = $this->feuillemaladie->getfeuillesmaladiefamille($idAdherent, $d1, $d2); $prestation = $this->adherent->getlisteprestations(); $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); $idPolice = $_SESSION['idPolice_C']; $idAdherent = $_SESSION['idAdherent_C']; $idBeneficiaire = isset($_SESSION['idBeneficiaire_C']) ? (int)$_SESSION['idBeneficiaire_C'] : null; $dateJour = date('Y-m-d'); $adherent = $this->adherent->getContexteAdherentId($idAdherent); $beneficiaires = $this->beneficiaire->getBeneficiairesId($idAdherent, $dateJour); $garantieadherents = $this->garantieadherent->getGarantieAdherent($idAdherent); if ($idBeneficiaire !== null) { $actes = $this->garantieadherent->getBaremePlafondAdherent($idAdherent, $idBeneficiaire); } else { $actes = null; } $this->adherent->controlerplafondadherentannuel($idAdherent); $_SESSION['controlerPlafondBeneficiaire'] = "0"; $limite_adherent = $this->garantieadherent->getLimitesAdherent($idAdherent); $garanties = $this->garantie->getListePourActe(); $this->genererVue(array( 'adherent' => $adherent,'beneficiaires' => $beneficiaires,'garantieadherents' => $garantieadherents,'limite_adherent' => $limite_adherent,'prestation' => $prestation,'garanties' => $garanties,'numeroBeneficiaire' => $numeroBeneficiaire, 'actes' => $actes)); } }