menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Consulterententeprealables'); $this->ententeprealable = new Ententeprealable(); $this->beneficiaire = new Beneficiaire(); $this->garantieadherent = new Garantieadherent(); } public function index() { $idDemandeententeprealable = $this->requete->getParametre("id"); // Mode définitif les Ententeprealables sont traités et impossible de changer $_SESSION['modeEntentePrealable'] = "D"; $ententeprealable = $this->ententeprealable->getEntenteprealableId($idDemandeententeprealable); $garantieadherents = $this->garantieadherent->getGarantieBeneficiaire($ententeprealable['idBeneficiaire']); $actes = $this->garantieadherent->getBaremePlafondAdherent($ententeprealable['idAdherent'], $ententeprealable['idBeneficiaire']); $police = $this->beneficiaire->getSituationPolice($ententeprealable['idBeneficiaire']); $college = $this->beneficiaire->getSituationCollege($ententeprealable['idBeneficiaire']); $baseTarification = $this->beneficiaire->getBaseTarificationBeneficiaire($ententeprealable['idBeneficiaire']); $chemin = $this->menuvue->getChemin('Consulterententeprealables'); $retour = $_SESSION['vueEntentePrealable']; $this->genererVue(array('ententeprealable' => $ententeprealable, 'actes' => $actes, 'garantieadherents' => $garantieadherents, 'police' => $police, 'college' => $college, 'baseTarification' => $baseTarification, 'chemin' => $chemin, 'retour' => $retour)); } }