36 : void {
38
39
40 $current_user =
$dic[
'ilUser'];
41 $current_user_id = (
int) $current_user->getId();
42
43 $this[
"obj.ref_id"] =
function (
$c) use ($object):
int {
45 if (!$ref) {
47 $ref = array_shift($refs);
48 }
49 return (int) $ref;
50 };
51
52 $this["obj.obj_id"] = $obj_id;
53
54
55 $this["usr.id"] = $current_user_id;
56
59 };
60
66 $lsdic["db.postconditions"],
67 $online_status
68 );
69 };
70
75 $dic[
'ilObjDataCache']
76 );
77 };
78
82 $lsdic["db.states"],
85 );
86 };
87
88
90 return $dic[
"http"]->wrapper()->query();
91 };
92
93
97
108 $lsdic[
"db.settings"]->getSettingsFor(
$c[
"obj.obj_id"]),
109 $c[
"player.curriculumbuilder"],
110 $c[
"player.launchlinksbuilder"],
112 $intro,
113 $extro,
115 );
116 };
117
118 $this[
"player.urlbuilder.lp"] =
function (
$c) use (
$dic, $data_factory):
LSUrlBuilder {
119 $player_base_url =
$dic[
'ilCtrl']->getLinkTargetByClass(
120 'ilObjLearningSequenceLPPollingGUI',
122 '',
123 false,
124 false
125 );
126 $player_base_url = $data_factory->uri(ILIAS_HTTP_PATH . '/' . $player_base_url);
127
129 };
134 $dic[
'ilObjDataCache'],
136 $dic->http()->wrapper()->query()
137 );
138 };
139
142 $c[
"player.urlbuilder"],
144 );
145 };
146
149 $c[
"player.urlbuilder"],
151 );
152 };
153
156 $dic[
'service.kiosk_mode'],
159 );
160 };
161
163 $player_base_url =
$dic[
'ilCtrl']->getLinkTargetByClass(
164 'ilObjLearningSequenceLearnerGUI',
166 '',
167 false,
168 false
169 );
170 $player_base_url = $data_factory->uri(ILIAS_HTTP_PATH . '/' . $player_base_url);
171
173 };
174
177 return $db->getSettings();
178 };
179
183 $c[
"player.urlbuilder"],
185 $c[
"globalsetttings"],
186 $c[
"player.urlbuilder.lp"]
187 );
188 };
189
191 $kiosk_template =
new ilTemplate(
"tpl.kioskpage.html",
true,
true,
'Modules/LearningSequence');
192 $window_title =
$dic[
'ilSetting']->get(
'short_inst_name',
'ILIAS');
193
196 $dic[
"global_screen"]->layout()->meta(),
200 $kiosk_template,
203 $window_title
204 );
205 };
206
213 $c[
"player.urlbuilder"]
214 );
215 };
216
218 $first_access =
$c[
"learneritems"]->getFirstAccess();
219
227 $first_access,
230 );
231 };
232
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"],
244 );
245 };
246
250 $dic[
"ilLoggerFactory"]->getRootLogger(),
251 $dic[
"ilAppEventHandler"],
253 );
254 };
255
265 $current_user,
267 );
268 };
269
271 return $dic[
'ui.renderer'];
272 };
273 }
Class ArrayBasedRequestWrapper.
const CMD_CHECK_CURRENT_ITEM_LP
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 _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...
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 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...
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...
getContentPageHTML(int $factor)
static _getAllReferences(int $id)
get all reference ids for object ID
special template class to simplify handling of ITX/PEAR
An entity that renders components to a string output.