ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilTaxonomyTree.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once("./Services/Tree/classes/class.ilTree.php");
6 
14 class ilTaxonomyTree extends ilTree
15 {
16  public function __construct($a_id)
17  {
18  parent::__construct($a_id);
19  $this->setTreeTablePK("tax_tree_id");
20  $this->setTableNames('tax_tree', 'tax_node');
21  }
22 }
setTableNames($a_table_tree, $a_table_obj_data, $a_table_obj_reference="")
set table names The primary key of the table containing your object_data must be &#39;obj_id&#39; You may use...
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
setTreeTablePK($a_column_name)
set column containing primary key in tree table public