menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Prescriptionconsben'); $this->prescription = new Prescription(); $this->detailprescription = new Detailprescription(); $codePrestataire = $_SESSION['codePrestataire_C']; } public function index() { $numeroPrescription = $_SESSION['numeroPrescription_C']; $prescription = $this->prescription->getprescription($numeroPrescription); $detailprescriptions = $this->detailprescription->getdetailprescription($numeroPrescription); $this->genererVue(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions)); } }