25 $this->ctrl =
$DIC->ctrl();
26 $this->lng =
$DIC->language();
27 $this->access =
$DIC->access();
28 $ilCtrl =
$DIC->ctrl();
30 $ilAccess =
$DIC->access();
33 $this->glossary = $a_parent_obj->glossary;
34 $this->
setId(
"gloqtl" . $this->glossary->getId());
42 $this->
setRowTemplate(
"tpl.term_quick_list_row.html",
"Modules/Glossary");
47 $this->
setData($this->glossary->getTermList(
"",
"",
"", 0,
false,
false,
null,
true));
59 $ilCtrl->setParameterByClass(
"ilglossarytermgui",
"term_id", $term[
"id"]);
62 for ($j = 0; $j < count($defs); $j++) {
65 $this->tpl->setCurrentBlock(
"definition");
66 $this->tpl->setVariable(
"SEP", $sep);
67 $ilCtrl->setParameterByClass(
"ilglossarydefpagegui",
"def", $def[
"id"]);
68 $this->tpl->setVariable(
70 $ilCtrl->getLinkTargetByClass(array(
"ilglossarytermgui",
71 "iltermdefinitioneditorgui",
72 "ilglossarydefpagegui"),
"edit")
74 $this->tpl->setVariable(
"TEXT_DEF", $this->lng->txt(
"glo_definition_abbr") . ($j + 1));
75 $this->tpl->parseCurrentBlock();
78 $ilCtrl->setParameterByClass(
"ilglossarydefpagegui",
"def",
$_GET[
"def"]);
80 if ($term[
"id"] ==
$_GET[
"term_id"]) {
81 $this->tpl->touchBlock(
"hl");
84 $this->tpl->setVariable(
"TEXT_TERM", $term[
"term"]);
85 $this->tpl->setVariable(
87 $ilCtrl->getLinkTargetByClass(
"ilglossarytermgui",
"editTerm")
90 $ilCtrl->setParameterByClass(
"ilglossarytermgui",
"term_id",
$_GET[
"term_id"]);
An exception for terminatinating execution or to throw for unit testing.
static getDefinitionList($a_term_id)
static
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.
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.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
fillRow($term)
Fill table row.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc