39 $current_user =
$dic[
'ilUser'];
40 $current_user_id = (
int) $current_user->getId();
42 $this[
"obj.ref_id"] =
function (
$c) use ($object):
int {
46 $ref = array_shift($refs);
51 $this[
"obj.obj_id"] = $obj_id;
53 $this[
"usr.id"] = $current_user_id;
64 $lsdic[
"db.postconditions"],
73 $dic[
'ilObjDataCache']
88 return $dic[
"http"]->wrapper()->query();
106 $lsdic[
"db.settings"]->getSettingsFor(
$c[
"obj.obj_id"]),
107 $c[
"player.curriculumbuilder"],
108 $c[
"player.launchlinksbuilder"],
116 $this[
"player.urlbuilder.lp"] =
function (
$c) use (
$dic, $data_factory):
LSUrlBuilder {
117 $player_base_url =
$dic[
'ilCtrl']->getLinkTargetByClass(
118 'ilObjLearningSequenceLPPollingGUI',
124 $player_base_url = $data_factory->uri(ILIAS_HTTP_PATH .
'/' . $player_base_url);
132 $dic[
'ilObjDataCache'],
134 $dic->http()->wrapper()->query()
140 $c[
"player.urlbuilder"],
147 $c[
"player.urlbuilder"],
154 $dic[
'service.kiosk_mode'],
161 $player_base_url =
$dic[
'ilCtrl']->getLinkTargetByClass(
162 'ilObjLearningSequenceLearnerGUI',
168 $player_base_url = $data_factory->uri(ILIAS_HTTP_PATH .
'/' . $player_base_url);
175 return $db->getSettings();
181 $c[
"player.urlbuilder"],
183 $c[
"globalsetttings"],
184 $c[
"player.urlbuilder.lp"]
189 $kiosk_template =
new ilTemplate(
"tpl.kioskpage.html",
true,
true,
'Modules/LearningSequence');
190 $window_title =
$dic[
'ilSetting']->get(
'short_inst_name',
'ILIAS');
193 $dic[
"global_screen"]->layout()->meta(),
210 $c[
"player.urlbuilder"]
215 $first_access =
$c[
"learneritems"]->getFirstAccess();
233 $c[
"player.controlbuilder"],
234 $c[
"player.urlbuilder"],
235 $c[
"player.curriculumbuilder"],
236 $c[
"player.viewfactory"],
237 $c[
"player.kioskrenderer"],
239 $lsdic[
"gs.current_context"],
247 $dic[
"ilLoggerFactory"]->getRootLogger(),
248 $dic[
"ilAppEventHandler"],
268 return $dic[
'ui.renderer'];
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...
Builds the links to join/(re-)start the LearningSequence.
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...
getContentPageHTML(LSOPageType $page_type)
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)
Builds the overview (curriculum) of a LearningSequence.