prestataire = new Prestataire(); $this->ouinonfacture = (new Ouinon())->getListe(); $this->typeprestataire = (new Typeprestataire())->getListe(); $this->ouinonhospit = (new Ouinon())->getListe(); $this->ouinonchirurgie = (new Ouinon())->getListe(); } public function index() { $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant,'typeprestataire' => $this->typeprestataire, 'ouinonhospit' => $this->ouinonhospit, 'ouinonchirurgie' => $this->ouinonchirurgie)); } }