menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Modifierdossierclassique'); $this->facture = new Facture(); $this->ouinonhospit = (new Ouinon())->getListe(); $this->raison = (new Raisonconsultation())->getListe(); $this->lienbeneficiaire = (new Lienbeneficiaire())->getListe(); $this->liendemandeur = (new Lienbeneficiaire())->getListe(); $this->modepaiement = (new Pmodepaiement())->getListe(); $this->banque = new Banque(); $this->beneficiaire = new Beneficiaire(); $this->affection = new Affection(); } public function index() { $banque = $this->banque->getListe(); $idDossierClassique = $_SESSION['idDossierClassique']; $idBeneficiaire = $_SESSION['idBeneficiaire_C']; $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); $dossier = $this->facture->getdossierclassique($idDossierClassique); $affections = $this->affection->getListeAffections(); $this->genererVue(array('dossier' => $dossier, 'lienbeneficiaire' => $this->lienbeneficiaire, 'liendemandeur' => $this->liendemandeur, 'modepaiement' => $this->modepaiement, 'banque' => $banque, 'raison' => $this->raison, 'ouinonhospit' => $this->ouinonhospit, 'affections' => $affections )); } }