示例#1
0
 /**
  * update term
  */
 function updateTerm()
 {
     $term = new ilGlossaryTerm($this->term_id);
     $term->setTerm(ilUtil::stripSlashes($_POST["term"]));
     $term->setLanguage($_POST["term_language"]);
     $term->update();
     ilUtil::sendSuccess($this->lng->txt("msg_obj_modified"), true);
     $this->ctrl->redirect($this, "listTerms");
 }