menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Pharmacie'); $this->prescription = new Prescription_temp(); $this->detailprescription = new Detailprescription(); } public function index() { $numeroPrescription = $_SESSION['numeroPrescription_C']; $this->prescription->initpharmacie_cso(); $prescription = $this->prescription->getprescription(); $detailprescriptions = $this->detailprescription->getdetailprescription($numeroPrescription); $detailnonlivres = $this->prescription->getdetailnonlivre(); // $detaillivres = $this->prescription->getdetaillivre(); $detaillivres = $this->prescription->getdetaillivrecso(); $this->genererVue(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, 'detailnonlivres' => $detailnonlivres, 'detaillivres' => $detaillivres)); } }