4include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   24                $this->glossary = $a_parent_obj->glossary;
 
   25                $this->
setId(
"gloqtl".$this->glossary->getId());
 
   27                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   28                $this->
setTitle($lng->txt(
"cont_terms"));
 
   33                $this->
setRowTemplate(
"tpl.term_quick_list_row.html", 
"Modules/Glossary");
 
   38                $this->
setData($this->glossary->getTermList(
"", 
"", 
"", 0, 
false, 
false, 
null, 
true));
 
   49                $ilCtrl->setParameterByClass(
"ilglossarytermgui", 
"term_id", $term[
"id"]);
 
   52                for($j=0; $j < count($defs); $j++)
 
   56                        $this->tpl->setCurrentBlock(
"definition");
 
   57                        $this->tpl->setVariable(
"SEP", $sep);
 
   58                        $ilCtrl->setParameterByClass(
"ilglossarydefpagegui", 
"def", $def[
"id"]);
 
   59                        $this->tpl->setVariable(
"LINK_EDIT_DEF",
 
   60                                $ilCtrl->getLinkTargetByClass(array(
"ilglossarytermgui",
 
   61                                "iltermdefinitioneditorgui",
 
   62                                "ilglossarydefpagegui"), 
"edit"));
 
   63                        $this->tpl->setVariable(
"TEXT_DEF", $this->lng->txt(
"glo_definition_abbr").($j+1));
 
   64                        $this->tpl->parseCurrentBlock();
 
   67                $ilCtrl->setParameterByClass(
"ilglossarydefpagegui", 
"def", 
$_GET[
"def"]);
 
   69                if ($term[
"id"] == 
$_GET[
"term_id"])
 
   71                        $this->tpl->touchBlock(
"hl");
 
   74                $this->tpl->setVariable(
"TEXT_TERM", $term[
"term"]);
 
   75                $this->tpl->setVariable(
"LINK_EDIT_TERM",
 
   76                        $ilCtrl->getLinkTargetByClass(
"ilglossarytermgui", 
"editTerm"));
 
   78                $ilCtrl->setParameterByClass(
"ilglossarytermgui", 
"term_id", 
$_GET[
"term_id"]);
 
getDefinitionList($a_term_id)
static
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="")
Add a column to the header.
setEnableHeader($a_enableheader)
Set Enable Header.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setEnableTitle($a_enabletitle)
Set Enable Title.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
fillRow($term)
Fill table row.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.