5include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   27                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   29                foreach ($a_lm->getAutoGlossaries() as $glo_id)
 
   34                $this->
setTitle($lng->txt(
"cont_auto_glossaries"));
 
   36                $this->
addColumn($this->lng->txt(
"title"), 
"title");
 
   37                $this->
addColumn($this->lng->txt(
"actions"));
 
   40                $this->
setRowTemplate(
"tpl.lm_glossary_row.html", 
"Modules/LearningModule");
 
   53                $ilCtrl->setParameter($this->parent_obj, 
"glo_id", $a_set[
"glo_id"]);
 
   54                $this->tpl->setCurrentBlock(
"cmd");
 
   55                $this->tpl->setVariable(
"CMD_HREF", 
$ilCtrl->getLinkTarget($this->parent_obj, 
"removeLMGlossary"));
 
   56                $this->tpl->setVariable(
"CMD_TXT", 
$lng->txt(
"remove")); 
 
   57                $this->tpl->parseCurrentBlock();
 
An exception for terminatinating execution or to throw for unit testing.
TableGUI class for glossary tables.
fillRow($a_set)
Fill table row.
__construct($a_lm, $a_parent_obj, $a_parent_cmd)
Constructor.
static _lookupTitle($a_id)
lookup object title
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.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.