menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Relevecompteprestairep'); $this->prestataire = new Prestataire(); $this->periode = (new Periode)->getListe(); $this->exercice = (new Exercice())->getListe(); $this->periode2 = (new Periode)->getListe(); $this->exercice2 = (new Exercice())->getListe(); } public function index() { $prestataire = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); $chemin = $this->menuvue->getChemin('Relevecompteprestairep'); $this->genererVue(array('prestataire' => $prestataire, 'periode' => $this->periode, 'exercice' => $this->exercice, 'periode2' => $this->periode2, 'exercice2' => $this->exercice2, 'chemin' => $chemin)); } }