menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Chambrecons'); $this->prestation = new Prestationactes(); } public function index() { $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; $chambres = $this->prestation->getchambresfeuille($numeroFeuilleMaladie); //var_dump($chambres); $totalchambres = $this->prestation->gettotalchambresfeuille($numeroFeuilleMaladie); $hospit_total = $this->prestation->gethospitalisation_total($numeroFeuilleMaladie); $prestations = $this->prestation->gettousactesmedicauxhospitalisation($numeroFeuilleMaladie); $prestations_total = $this->prestation->gettousactesmedicauxhospitalisation_total($numeroFeuilleMaladie); $chemin = $this->menuvue->getChemin('Chambrecons'); $this->genererVue(array('chambres' => $chambres, 'totalchambres' => $totalchambres, 'prestations' => $prestations, 'prestations_total' => $prestations_total, 'chemin' => $chemin )); } }