5 require_once
"Services/Tracking/classes/collection/class.ilLPCollection.php";
22 if(!isset(self::$possible_items[$a_ref_id]))
30 include_once
"Services/MetaData/classes/class.ilMDEducational.php";
32 $tree->setTableNames(
'lm_tree',
'lm_data');
33 $tree->setTreeTablePK(
"lm_id");
34 foreach ($tree->getChilds($tree->readRootId()) as $child)
36 if($child[
"type"] ==
"st")
39 $items[$child[
"obj_id"]] = $child;
43 self::$possible_items[$a_ref_id] =
$items;
46 return self::$possible_items[$a_ref_id];
59 include_once
'./Services/Link/classes/class.ilLink.php';
64 $tmp[
'id'] = $item[
'obj_id'];
66 $tmp[
'title'] = $item[
'title'];
67 $tmp[
'type'] = $item[
'type'];
71 $tmp[
'url'] =
ilLink::_getLink($a_parent_ref_id, $parent_type, null,
"_".$tmp[
'id']);
75 $tmp[
'tlt'] = $item[
'tlt'];