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