36 : void {
38
39 $current_user =
$dic[
'ilUser'];
40 $current_user_id = (
int) $current_user->getId();
41
42 $this[
"obj.ref_id"] =
function (
$c) use ($object):
int {
44 if (!$ref) {
46 $ref = array_shift($refs);
47 }
48 return (int) $ref;
49 };
50
51 $this["obj.obj_id"] = $obj_id;
52
53 $this["usr.id"] = $current_user_id;
54
57 };
58
64 $lsdic["db.postconditions"],
65 $online_status
66 );
67 };
68
73 $dic[
'ilObjDataCache']
74 );
75 };
76
80 $lsdic["db.states"],
83 );
84 };
85
86
88 return $dic[
"http"]->wrapper()->query();
89 };
90
91
95
106 $lsdic[
"db.settings"]->getSettingsFor(
$c[
"obj.obj_id"]),
107 $c[
"player.curriculumbuilder"],
108 $c[
"player.launchlinksbuilder"],
110 $intro,
111 $extro,
113 );
114 };
115
116 $this[
"player.urlbuilder.lp"] =
function (
$c) use (
$dic, $data_factory):
LSUrlBuilder {
117 $player_base_url =
$dic[
'ilCtrl']->getLinkTargetByClass(
118 'ilObjLearningSequenceLPPollingGUI',
120 '',
121 false,
122 false
123 );
124 $player_base_url = $data_factory->uri(ILIAS_HTTP_PATH . '/' . $player_base_url);
125
127 };
132 $dic[
'ilObjDataCache'],
134 $dic->http()->wrapper()->query()
135 );
136 };
137
140 $c[
"player.urlbuilder"],
142 );
143 };
144
147 $c[
"player.urlbuilder"],
149 );
150 };
151
154 $dic[
'service.kiosk_mode'],
157 $dic[
'learning_object_metadata']
158 );
159 };
160
162 $player_base_url =
$dic[
'ilCtrl']->getLinkTargetByClass(
163 'ilObjLearningSequenceLearnerGUI',
165 '',
166 false,
167 false
168 );
169 $player_base_url = $data_factory->uri(ILIAS_HTTP_PATH . '/' . $player_base_url);
170
172 };
173
176 return $db->getSettings();
177 };
178
182 $c[
"player.urlbuilder"],
184 $c[
"globalsetttings"],
185 $c[
"player.urlbuilder.lp"]
186 );
187 };
188
190 $kiosk_template =
new ilTemplate(
"tpl.kioskpage.html",
true,
true,
'components/ILIAS/LearningSequence');
191 $window_title =
$dic[
'ilSetting']->get(
'short_inst_name',
'ILIAS');
192
194 $dic[
"global_screen"]->layout()->meta(),
198 $kiosk_template,
201 $window_title
202 );
203 };
204
211 $c[
"player.urlbuilder"]
212 );
213 };
214
216 $first_access =
$c[
"learneritems"]->getFirstAccess();
217
225 $first_access,
228 );
229 };
230
234 $c[
"player.controlbuilder"],
235 $c[
"player.urlbuilder"],
236 $c[
"player.curriculumbuilder"],
237 $c[
"player.viewfactory"],
238 $c[
"player.kioskrenderer"],
240 $lsdic["gs.current_context"],
242 );
243 };
244
248 $dic[
"ilLoggerFactory"]->getRootLogger(),
249 $dic[
"ilAppEventHandler"],
251 );
252 };
253
263 $current_user,
265 );
266 };
267
269 return $dic[
'ui.renderer'];
270 };
271 }
Class ArrayBasedRequestWrapper.
const CMD_CHECK_CURRENT_ITEM_LP
Global Settings of the Learning Sequence.
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.
Repository for LSGlobalSettings over ILIAS global settings.
Builds the links to join/(re-)start the LearningSequence.
This combines calls to ProgressDB and StateDB to handle learner-items in the context of a specific LS...
Implementation of KioskMode Player.
Get LearningProgress and availability of items in sequence.
getContentPageHTML(LSOPageType $page_type)
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.