type = new Gestionconfiee(); } public function index(){ $id = $this->requete->getParametreFormulaire("id"); $gctypegarant = $this->type->getGcTypeGarantId($id); $this->genererVueAjax(array( 'gc_typegarant' => $gctypegarant )); } public function enregistrer(){ $id = $this->requete->getParametreFormulaire("id"); $libelle = strtoupper($this->requete->getParametreFormulaire("libelle")); $this->type->modifierTypeGarant($libelle, $id); } }