3 declare(strict_types=1);
40 $current_user = $dic[
'ilUser'];
41 $current_user_id = (
int) $current_user->getId();
43 $this[
"obj.ref_id"] =
function (
$c) use ($object):
int {
47 $ref = array_shift($refs);
52 $this[
"obj.obj_id"] = $obj_id;
55 $this[
"usr.id"] = $current_user_id;
61 $this[
"db.lsitems"] =
function (
$c) use ($dic, $lsdic):
ilLSItemsDB {
66 $lsdic[
"db.postconditions"],
75 $dic[
'ilObjDataCache']
90 return $dic[
"http"]->wrapper()->query();
108 $lsdic[
"db.settings"]->getSettingsFor(
$c[
"obj.obj_id"]),
109 $c[
"player.curriculumbuilder"],
110 $c[
"player.launchlinksbuilder"],
118 $this[
"player.urlbuilder.lp"] =
function (
$c) use ($dic, $data_factory):
LSUrlBuilder {
119 $player_base_url = $dic[
'ilCtrl']->getLinkTargetByClass(
120 'ilObjLearningSequenceLPPollingGUI',
126 $player_base_url = $data_factory->uri(ILIAS_HTTP_PATH .
'/' . $player_base_url);
134 $dic[
'ilObjDataCache'],
136 $dic->http()->wrapper()->query()
140 $this[
"gui.toc"] =
function (
$c) use ($dic):
ilLSTOCGUI {
142 $c[
"player.urlbuilder"],
149 $c[
"player.urlbuilder"],
156 $dic[
'service.kiosk_mode'],
162 $this[
"player.urlbuilder"] =
function (
$c) use ($dic, $data_factory):
LSUrlBuilder {
163 $player_base_url = $dic[
'ilCtrl']->getLinkTargetByClass(
164 'ilObjLearningSequenceLearnerGUI',
170 $player_base_url = $data_factory->uri(ILIAS_HTTP_PATH .
'/' . $player_base_url);
177 return $db->getSettings();
183 $c[
"player.urlbuilder"],
185 $c[
"globalsetttings"],
186 $c[
"player.urlbuilder.lp"]
191 $kiosk_template =
new ilTemplate(
"tpl.kioskpage.html",
true,
true,
'Modules/LearningSequence');
192 $window_title = $dic[
'ilSetting']->get(
'short_inst_name',
'ILIAS');
196 $dic[
"global_screen"]->layout()->meta(),
213 $c[
"player.urlbuilder"]
218 $first_access =
$c[
"learneritems"]->getFirstAccess();
233 $this[
"player"] =
function (
$c) use ($dic, $lsdic):
ilLSPlayer {
236 $c[
"player.controlbuilder"],
237 $c[
"player.urlbuilder"],
238 $c[
"player.curriculumbuilder"],
239 $c[
"player.viewfactory"],
240 $c[
"player.kioskrenderer"],
242 $lsdic[
"gs.current_context"],
250 $dic[
"ilLoggerFactory"]->getRootLogger(),
251 $dic[
"ilAppEventHandler"],
271 return $dic[
'ui.renderer'];
getContentPageHTML(int $factor)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _getAllReferences(int $id)
get all reference ids for object ID
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const CMD_CHECK_CURRENT_ITEM_LP
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
init(ArrayAccess $dic, ArrayAccess $lsdic, DataFactory $data_factory, ilObjLearningSequence $object)
This combines calls to ProgressDB and StateDB to handle learner-items in the context of a specific LS...
Implementation of KioskMode Player.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _getInstance(int $a_obj_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...