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'];
static _getTypicalLearningTimeSeconds($a_rbac_id, $a_obj_id=0)
getTableGUIData($a_parent_ref_id)
LP collection of learning module chapters.
const LP_MODE_COLLECTION_TLT
static _lookupObjectId($a_ref_id)
lookup object id
getPossibleItems($a_ref_id)
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
Create styles array
The data for the language used.
static _lookupType($a_id, $a_reference=false)
lookup object type
LP collection base class.
isAssignedEntry($a_item_id)
static _getLink($a_ref_id, $a_type='', $a_params=array(), $append="")