35 $this->glossary = $a_glossary;
36 $this->
id =
"glo_glo";
37 $this->lng = $DIC->language();
38 $this->ctrl = $DIC->ctrl();
46 $this->
setTitle($this->lng->txt(
"cont_auto_glossaries"));
48 $this->
addColumn($this->lng->txt(
"title"),
"title");
49 $this->
addColumn($this->lng->txt(
"actions"));
51 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj));
52 $this->
setRowTemplate(
"tpl.glo_glossary_auto_link_row.html",
"Modules/Glossary");
63 $this->ctrl->setParameter($this->parent_obj,
"glo_id", $a_set[
"glo_id"]);
64 $this->tpl->setCurrentBlock(
"cmd");
65 $this->tpl->setVariable(
"CMD_HREF", $this->ctrl->getLinkTarget($this->parent_obj,
"removeGlossary"));
66 $this->tpl->setVariable(
"CMD_TXT", $this->lng->txt(
"remove"));
67 $this->tpl->parseCurrentBlock();
__construct(ilObjGlossary $a_glossary, $a_parent_obj, $a_parent_cmd)
Constructor.
static _lookupTitle($a_id)
lookup object title
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
TableGUI class for auto link glossaries.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
getAutoGlossaries()
Get auto glossaries.
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.
fillRow($a_set)
Fill table row.