collegetype = new collegetype(); } public function index(){ $this->genererVueAjax(); } public function ajouter(){ //$codeCollegeType = strtoupper($this->requete->getParametreFormulaire("codeCollegeType")); $libelle = strtoupper($this->requete->getParametreFormulaire("libelle")); $libelleEng = strtoupper($this->requete->getParametreFormulaire("libelleEng")); $this->collegetype->ajouter($libelle, $libelleEng); } public function enregistrermodif() { $idTable = $this->requete->getParametreFormulaire("idTable"); $libelle = strtoupper($this->requete->getParametreFormulaire("libelle")); $this->collegetype->enregistrermodif($idTable, $libelle); } public function supprimer() { $idTable = $this->requete->getParametreFormulaire("idTable"); $this->collegetype->supprimer($idTable); } }