adherent = new Beneficiaire_d(); $this->college = new Collegepolice_d(); } public function index() { $idCollegePolice = $this->requete->getParametreFormulaire("idCollegePolice"); $_SESSION["idCollegePolice_d"] = $idCollegePolice; $idPolice = $_SESSION['idPolice_d_C']; $numeroOptionTarif = $_SESSION['numeroOptionTarif']; $colleges = $this->college->getListeOptionTarifLong($idPolice, $numeroOptionTarif); if($idCollegePolice > "0"){ $adherents = $this->adherent->getlisteassuresparcollegedevis($idPolice, $numeroOptionTarif, $idCollegePolice); }else{ $adherents = $this->adherent->getlisteadherentdevis($idPolice, $numeroOptionTarif); } $this->genererVueAjax(array('adherents' => $adherents, 'colleges' => $colleges)); } }