menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Prescriptioncons'); $this->prescription = new Prescription(); $this->detailprescription = new Detailprescription(); // $this->ged = new Ged(); } public function index() { $numeroPrescription = $_SESSION['numeroPrescription_C']; $prescription = $this->prescription->getprescription($numeroPrescription); $detailprescriptions = $this->detailprescription->getdetailprescription($numeroPrescription); $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; $this->genererVue(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions)); } /* public function index() { $numeroPrescription = $_SESSION['numeroPrescription_C']; $prescription = $this->prescription->getprescription($numeroPrescription); $detailprescriptions = $this->detailprescription->getdetailprescription($numeroPrescription); $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; unset($_FILES['fichier_upload']); $geds = $this->ged->getgedpharmacie(); $this->genererVue(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, 'geds' => $geds)); } */ }