23 parent::ilTree($a_tree_id);
37 if (isset(self::$instances[$a_tree_id]))
39 return self::$instances[$a_tree_id];
42 self::$instances[$a_tree_id] = $tree;
54 return $this->use_cache;
isCacheUsed()
Check if cache is active.
static getInstance($a_tree_id)
Get Instance.
__construct($a_tree_id)
Constructor.
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 'obj_id' 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
useCache($a_use=true)
Use Cache (usually activated)