police = new Police(); } public function index() { $nomGarant = $this->requete->getParametreFormulaire("nomGarant"); $idSouscripteur = $this->requete->getParametreFormulaire("idSouscripteur"); $numeroPolice = $this->requete->getParametreFormulaire("numeroPolice"); $codeEtatPolice = $this->requete->getParametreFormulaire("codeEtatPolice"); $listeadherents = $this->police->getListepolice($nomGarant, $idSouscripteur, $numeroPolice, $codeEtatPolice) ; $nbreAdherent = count($listeadherents); $_SESSION["idPolice_C"] = $idPolice; $_SESSION['idPoliceAjax'] = $idPolice; $adherents = json_encode($listeadherents,JSON_NUMERIC_CHECK); $typeGarant = $this->requete->getParametreFormulaire("typeGarant"); $libelle = $this->requete->getParametreFormulaire("libelle"); $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); $this->genererVueAjax(array()); } public function desactiver() { $idGarant = $this->requete->getParametreFormulaire("idGarant"); $this->gc->desactivergarant($idGarant) ; } }