typesociete = new Typesociete(); } public function index(){ $id = $this->requete->getParametreFormulaire("id"); $typesociete = $this->typesociete->gettypesociete($id); $this->genererVueAjax(array( 'typesociete' => $typesociete, )); } public function modifier(){ $id = $this->requete->getParametreFormulaire("id"); $codeType = strtoupper($this->requete->getParametreFormulaire("codeType")); $libelleType = strtoupper($this->requete->getParametreFormulaire("libelleType")); $this->typesociete->modifiertypesociete($id, $codeType,$libelleType); } }