19 declare(strict_types=0);
    35         if (!isset(self::$possible_items[$a_ref_id])) {
    42             $tree->setTableNames(
'lm_tree', 
'lm_data');
    43             $tree->setTreeTablePK(
"lm_id");
    44             foreach ($tree->getChilds($tree->readRootId()) as $child) {
    45                 if ($child[
"type"] == 
"st") {
    51                     $items[$child[
"obj_id"]] = $child;
    55             self::$possible_items[$a_ref_id] = 
$items;
    58         return self::$possible_items[$a_ref_id];
    72             $tmp[
'id'] = $item[
'obj_id'];
    74             $tmp[
'title'] = $item[
'title'];
    75             $tmp[
'type'] = $item[
'type'];
    79             $tmp[
'url'] = ilLink::_getLink(
    87                 $tmp[
'tlt'] = $item[
'tlt'];
 
LP collection of learning module chapters. 
 
static array $possible_items
 
isAssignedEntry(int $a_item_id)
 
const LP_MODE_COLLECTION_TLT
 
static _lookupObjectId(int $ref_id)
 
getTableGUIData(int $a_parent_ref_id)
 
LP collection base class. 
 
static _getTypicalLearningTime(string $type, int $obj_id, int $sub_id=0)
 
static _lookupType(int $id, bool $reference=false)
 
getPossibleItems(int $a_ref_id)