medecin = new Medecin(); $this->specialite = new Specialite(); $this->sexe = (new Sexe())->getListe(); } public function index() { $idMedecin = $this->requete->getParametreFormulaire("id"); $medecin = $this->medecin->getunmedecin($idMedecin); $specialite = $this->specialite->getListe(); $corporation = $this->specialite->getListeMetier(); $this->genererVueAjax(array('medecin' => $medecin, 'specialite' => $specialite, 'sexe' => $this->sexe, 'corporation' => $corporation )); } }