medecin = new Medecin(); } public function index($nomsearch="") { if ($this->requete->existeParametre("valid")) { $codePrestataire = $_SESSION['p_codePrestataire_C']; $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); //$noOrdreMedecin = $this->requete->getParametreFormulaire("noOrdreMedecin"); $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); $mdedecins_pop = $this->medecin->getmedeconspossibles($codePrestataire, $nomsearch, $codeMedecin); } else { $mdedecins_pop = $this->medecin->getmedecinsvide(); } $this->genererVueAjax(array('mdedecins_pop' => $mdedecins_pop, 'nomsearch' => $nomsearch, 'codeMedecin' => $codeMedecin)); } }