adherent = new Adherent(); } public function index() { $idCollegePolice = $this->requete->getParametreFormulaire("idCollegePolice"); $idPolice = $_SESSION['idPolice_C']; if($idCollegePolice > "0"){ $adherents = $this->adherent->getlisteassurescollegeabasculer($idPolice, $idCollegePolice); }else{ $adherents = $this->adherent->getlisteassuresabasculer($idPolice); } $_SESSION["idCollegePolice"] = $idCollegePolice; $this->genererVueAjax(array('adherents' => $adherents)); } }