adherent = new Adherent(); } public function index() { $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); $limites = $this->adherent->getListeLimiteAdherent($idAdherent); $this->genererVueAjax(array('limites' => $limites)); } public function majplafond() { $idLimite = $this->requete->getParametreFormulaire("idLimite"); $plafond = $this->requete->getParametreFormulaire("plafond", "numerique"); $motif = $this->requete->getParametreFormulaire("motif"); $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); $this->adherent->majPlafondAdherent($idLimite, $plafond, $motif); $limites = $this->adherent->getListeLimiteAdherent($idAdherent); $this->genererVueAjax(array('limites' => $limites)); } public function modifierlimite() { $idLimite = $this->requete->getParametreFormulaire("idLimite"); $plafondOld = $this->requete->getParametreFormulaire("plafondOld"); $this->genererVueAjax(array('idLimite' => $idLimite, 'plafondOld' => $plafondOld)); } }