4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
29 $this->ctrl = $DIC->ctrl();
30 $this->lng = $DIC->language();
31 $this->access = $DIC->access();
33 $lng = $DIC->language();
34 $ilAccess = $DIC->access();
35 $lng = $DIC->language();
37 $this->glossary = $a_parent_obj->glossary;
38 $this->
setId(
"gloqtl" . $this->glossary->getId());
40 parent::__construct($a_parent_obj, $a_parent_cmd);
46 $this->
setRowTemplate(
"tpl.term_quick_list_row.html",
"Modules/Glossary");
51 $this->
setData($this->glossary->getTermList(
"",
"",
"", 0,
false,
false, null,
true));
63 $ilCtrl->setParameterByClass(
"ilglossarytermgui",
"term_id", $term[
"id"]);
66 for ($j = 0; $j < count($defs); $j++) {
69 $this->tpl->setCurrentBlock(
"definition");
70 $this->tpl->setVariable(
"SEP", $sep);
71 $ilCtrl->setParameterByClass(
"ilglossarydefpagegui",
"def",
$def[
"id"]);
72 $this->tpl->setVariable(
74 $ilCtrl->getLinkTargetByClass(array(
"ilglossarytermgui",
75 "iltermdefinitioneditorgui",
76 "ilglossarydefpagegui"),
"edit")
78 $this->tpl->setVariable(
"TEXT_DEF", $this->lng->txt(
"glo_definition_abbr") . ($j + 1));
79 $this->tpl->parseCurrentBlock();
82 $ilCtrl->setParameterByClass(
"ilglossarydefpagegui",
"def",
$_GET[
"def"]);
84 if ($term[
"id"] ==
$_GET[
"term_id"]) {
85 $this->tpl->touchBlock(
"hl");
88 $this->tpl->setVariable(
"TEXT_TERM", $term[
"term"]);
89 $this->tpl->setVariable(
91 $ilCtrl->getLinkTargetByClass(
"ilglossarytermgui",
"editTerm")
94 $ilCtrl->setParameterByClass(
"ilglossarytermgui",
"term_id",
$_GET[
"term_id"]);
static getDefinitionList($a_term_id)
static
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
fillRow($term)
Fill table row.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
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.
setEnableHeader($a_enableheader)
Set Enable Header.
setEnableTitle($a_enabletitle)
Set Enable Title.