menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Depenses'); $this->prestataire = new Prestataire(); $this->police = new Police(); $this->reponseententeprealable = (new Reponseententeprealable())->getListe(); $this->ouinonattente = (new Ouinon())->getListe(); } public function index() { //$prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); //$chemin = $this->menuvue->getChemin('Depenses'); $polices = $this->police->getListepolices(); $_SESSION['vueDepenses'] = "Depenses"; $this->genererVue(array('reponseententeprealable' => $this->reponseententeprealable, 'polices' => $polices, 'ouinonattente' => $this->ouinonattente)); } }