ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
class.ilSCORM2004Tree.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once("./Services/Tree/classes/class.ilTree.php");
5 
13 class ilSCORM2004Tree extends ilTree
14 {
18  function __construct($a_id)
19  {
20  parent::__construct($a_id);
21  $this->setTableNames('sahs_sc13_tree', 'sahs_sc13_tree_node');
22  $this->setTreeTablePK("slm_id");
23  }
24 
25 }
26 
27 ?>
__construct($a_id)
Constructor.
SCORM 2004 Editing tree.
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