5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
20 function __construct($a_parent_obj, $a_parent_cmd, $a_assigned_object_id, $a_info = null)
24 parent::__construct($a_parent_obj, $a_parent_cmd);
25 $this->assigned_object_id = $a_assigned_object_id;
27 include_once(
"./Services/Taxonomy/classes/class.ilObjTaxonomy.php");
29 $this->
setTitle($lng->txt(
"obj_taxf"));
32 $this->
addColumn($this->lng->txt(
"title"),
"title");
33 $this->
addColumn($this->lng->txt(
"description"));
34 $this->
addColumn($this->lng->txt(
"actions"));
40 $this->
setRowTemplate(
"tpl.taxonomy_list_row.html",
"Services/Taxonomy");
53 $ilCtrl->setParameter($this->parent_obj,
"tax_id", $a_set[
"tax_id"]);
54 $this->tpl->setCurrentBlock(
"cmd");
55 $this->tpl->setVariable(
"HREF_CMD", $ilCtrl->getLinkTarget($this->parent_obj,
"listNodes"));
56 $this->tpl->setVariable(
"CMD", $lng->txt(
"edit"));
57 $this->tpl->parseCurrentBlock();
58 $this->tpl->setCurrentBlock(
"cmd");
59 $this->tpl->setVariable(
"HREF_CMD", $ilCtrl->getLinkTarget($this->parent_obj,
"confirmDeleteTaxonomy"));
60 $this->tpl->setVariable(
"CMD", $lng->txt(
"delete"));
61 $this->tpl->parseCurrentBlock();
62 $ilCtrl->setParameter($this->parent_obj,
"tax_id",
$_GET[
"tax_id"]);
64 $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
setDescription($a_val)
Set description.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
static getUsageOfObject($a_obj_id, $a_include_titles=false)
Get usage of object.
__construct($a_parent_obj, $a_parent_cmd, $a_assigned_object_id, $a_info=null)
Constructor.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
static _lookupDescription($a_id)
lookup object description
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
TableGUI class for taxonomy list.
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.