4 require_once
"Services/Tracking/classes/collection/class.ilLPCollection.php";
21 if (!isset(self::$possible_items[$this->obj_id])) {
24 include_once
"Modules/MediaCast/classes/class.ilObjMediaCast.php";
27 foreach ($cast->getSortedItemsArray() as $item) {
28 $items[$item[
"mob_id"]] = array(
"title" => $item[
"title"]);
51 $tmp[
'title'] = $item[
'title'];
72 $new_collection =
new static($target_obj_id,
$this->mode);
74 foreach ($this->items as $item_id) {
75 if (isset($mob_mapping[$item_id]) && isset(
$possible_items[$mob_mapping[$item_id]])) {
76 $new_collection->addEntry($mob_mapping[$item_id]);
80 $DIC->logger()->root()->write(__METHOD__ .
': cloned learning progress collection.');
static _lookupObjId($a_id)
LP collection base class.
isAssignedEntry($a_item_id)