5include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   27                        $a_node_id = $a_tree->readRootId();
 
   30                $this->tree = $a_tree;
 
   32                $this->node_id = $a_node_id;
 
   34                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   36                $childs = $this->tree->getChildsByTypeFilter($a_node_id,
 
   49                $this->
setTitle($lng->txt(
"tax_nodes"));
 
   51                $this->
addColumn($this->lng->txt(
""), 
"", 
"1px", 
true);
 
   54                        $this->
addColumn($this->lng->txt(
"tax_order"), 
"order_nr", 
"1px");
 
   58                $this->
addColumn($this->lng->txt(
"title"));
 
   76                if (in_array($a_field, array(
"order_nr")))
 
   89                $ilCtrl->setParameter($this->parent_obj, 
"tax_node", $a_set[
"child"]);
 
   90                $ret = 
$ilCtrl->getLinkTargetByClass(
"ilobjtaxonomygui", 
"listNodes");
 
   91                $ilCtrl->setParameter($this->parent_obj, 
"tax_node", 
$_GET[
"tax_node"]);
 
   94                        $this->tpl->setCurrentBlock(
"order");
 
   95                        $this->tpl->setVariable(
"ORDER_NR", $a_set[
"order_nr"]);
 
   96                        $this->tpl->setVariable(
"ONODE_ID", $a_set[
"child"]);
 
   97                        $this->tpl->parseCurrentBlock();
 
  100                $this->tpl->setVariable(
"HREF_TITLE", 
$ret);
 
  103                $this->tpl->setVariable(
"NODE_ID", $a_set[
"child"]);
 
An exception for terminatinating execution or to throw for unit testing.
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.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
TableGUI class for taxonomies.
fillRow($a_set)
Fill table row.
__construct($a_parent_obj, $a_parent_cmd, $a_tree, $a_node_id, $a_tax)
Constructor.
numericOrdering($a_field)
Should this field be sorted numeric?
static sortArray($array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public