menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Prestations'); $this->beneficiaire = new Beneficiaire(); $this->police = new Police(); $this->garantieadherent = new Garantieadherent(); $this->pbeneficiaire = new Pbeneficiaire(); $this->liensubstitut = (new Lienparente())->getListeSubstitut(); $this->naturepiece = (new Naturepiece())->getListe(); $this->sexe = (new Sexe())->getListe(); $_SESSION['modeDevis'] = "0"; } public function index() { $id = $this->requete->getParametre("id"); $idBeneficiaire = $id; $this->beneficiaire->getContexteBeneficiaireId($id); $idPolice = $_SESSION['idPolice_C']; $this->police->getContextePoliceId($idPolice); $beneficiaire = $this->pbeneficiaire->getContexteBeneficiaireIdPrest($idBeneficiaire); $idAdherent = $_SESSION['idAdherent_C']; // $garantieadherents = $this->garantieadherent->getGarantieAdherent($idAdherent); $garantieadherents = $this->garantieadherent->getGarantieBeneficiaire($idBeneficiaire); // A enlever après $_SESSION['lienServeur'] = $_SESSION['lienProduction_C']; $this->genererVue(array('beneficiaire' => $beneficiaire, 'garantieadherents' => $garantieadherents, 'liensubstitut' => $this->liensubstitut, 'naturepiece' => $this->naturepiece, 'sexe' => $this->sexe)); } }