39 $this->lng = $DIC->language();
40 $this->ctrl = $DIC->ctrl();
41 $this->glossary = $a_glossary;
44 $terms = $this->glossary->getTermList();
47 $this->
setTitle($this->glossary->getTitle() .
": " . $this->lng->txt(
"glo_select_terms"));
50 $this->
addColumn($this->lng->txt(
"glo_term"));
52 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj));
53 $this->
setRowTemplate(
"tpl.glo_foreign_term_row.html",
"Modules/Glossary");
56 $this->
addMultiCommand(
"referenceTerms", $this->lng->txt(
"glo_reference_terms"));
66 $this->tpl->setVariable(
"TERM", $a_set[
"term"]);
67 $this->tpl->setVariable(
"TERM_ID", $a_set[
"id"]);
fillRow($a_set)
Fill table row.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
__construct($a_parent_obj, $a_parent_cmd, ilObjGlossary $a_glossary)
ilGlossaryForeignTermTableGUI constructor.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
__construct(Container $dic, ilPlugin $plugin)
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
TableGUI class for collecting foreign terms.