menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Demandesteglementcpt'); // $this->reglement = new Reglement(); $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_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); $chemin = $this->menuvue->getChemin('Demandesteglementcpt'); $this->genererVue(array('periode' => $this->periode, 'exercice' => $this->exercice, 'periode2' => $this->periode2, 'exercice2' => $this->exercice2, 'chemin' => $chemin)); } }