19 declare(strict_types=1);
25 public static ?Container
$dic = null;
27 public static function dic(): Container
38 $dic =
new Container();
40 $dic[
'permissionhelper'] =
static function (
$dic) use ($prg, $DIC) {
44 $DIC[
'ilObjDataCache'],
46 (
int) $prg->getRefid()
50 $dic[
'ilStudyProgrammeUserTable'] =
function (
$dic) use ($DIC) {
54 $dic[
'repo.assignment'],
56 $dic[
'permissionhelper'],
61 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'] =
function (
$dic) use ($DIC) {
66 $dic[
'repo.assignment'] =
function (
$dic) use ($DIC) {
70 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
71 $dic[
'ilStudyProgrammeDelayedEvents'],
81 $dic[
'Log'] =
static fn($dic) =>
84 $dic[
'mail'] =
static fn($dic) =>
89 $dic[
'ilAppEventHandler'] =
static fn($dic) =>
90 $DIC->offsetExists(
'ilAppEventHandler') ? $DIC[
'ilAppEventHandler'] : new \ilAppEventHandler();
92 $dic[
'prgEventHandler'] =
static fn($dic) =>
new PRGEventHandler($dic[
'mail']);
94 $dic[
'ilStudyProgrammeEvents'] =
static fn($dic) =>
97 $dic[
'ilAppEventHandler'],
98 $dic[
'prgEventHandler']
100 $dic[
'ilStudyProgrammeDelayedEvents'] =
static fn($dic) =>
103 $dic[
'ui.factory'] =
static fn($dic) => $DIC[
'ui.factory'];
104 $dic[
'ui.renderer'] =
static fn($dic) => $DIC[
'ui.renderer'];
106 $dic[
'ilStudyProgrammeMailMemberSearchGUI'] =
static fn($dic) =>
112 $DIC->http()->wrapper(),
114 $dic[
'permissionhelper'],
126 $dic[
'DataFactory'] =
static fn($dic) => new \ILIAS\Data\Factory();
135 $dic =
new Container();
137 $dic[
'mail'] =
static fn($dic) =>
143 $dic[
'ilAppEventHandler'] =
static fn($dic) =>
144 $DIC->offsetExists(
'ilAppEventHandler') ? $DIC[
'ilAppEventHandler'] : new \ilAppEventHandler();
146 $dic[
'prgEventHandler'] =
static fn($dic) =>
new PRGEventHandler($dic[
'mail']);
148 $dic[
'ilStudyProgrammeEvents'] =
static fn($dic) =>
151 $dic[
'ilAppEventHandler'],
152 $dic[
'prgEventHandler']
154 $dic[
'ilStudyProgrammeDelayedEvents'] =
static fn($dic) =>
157 $dic[
'repo.assignment'] =
static fn($dic) =>
161 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
162 $dic[
'ilStudyProgrammeDelayedEvents'],
167 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'] =
static fn($dic) =>
171 $dic[
'model.AutoMemberships.ilStudyProgrammeAutoMembershipsRepository'] =
static fn($dic) =>
174 (
int) $DIC[
'ilUser']->
getId()
176 $dic[
'model.AutoMemberships.ilStudyProgrammeMembershipSourceReaderFactory'] =
static fn($dic) =>
178 $dic[
'model.Type.ilStudyProgrammeTypeRepository'] =
static fn($dic) =>
181 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
184 $DIC[
'component.factory'],
187 $DIC[
'resource_storage'],
189 $dic[
'model.AutoCategories.ilStudyProgrammeAutoCategoriesRepository'] =
static fn($dic) =>
192 (
int) $DIC[
'ilUser']->
getId()
194 $dic[
'ilObjStudyProgrammeSettingsGUI'] =
static fn($dic) =>
199 $DIC->ui()->factory()->input(),
200 $DIC->ui()->renderer(),
201 $DIC->http()->request(),
204 $dic[
'model.Type.ilStudyProgrammeTypeRepository'],
205 $dic[
'ilStudyProgrammeCommonSettingsGUI'],
207 $DIC->http()->wrapper()->query()
209 $dic[
'PRGMessages'] =
static fn($dic) =>
215 $dic[
'ilObjStudyProgrammeMembersGUI'] =
static fn($dic) =>
223 $dic[
'repo.assignment'],
224 $dic[
'ilStudyProgrammeRepositorySearchGUI'],
225 $dic[
'ilObjStudyProgrammeIndividualPlanGUI'],
229 $DIC->http()->wrapper(),
233 $DIC->http()->request(),
235 $dic[
'ilObjStudyProgrammeAutoMembershipsGUI'] =
static fn($dic) =>
241 $DIC->ui()->factory(),
242 $DIC[
'ui.factory']->messageBox(),
243 $DIC[
'ui.factory']->button(),
244 $DIC->ui()->renderer(),
245 $DIC->http()->request(),
247 $DIC->http()->wrapper()->query(),
251 $dic[
'ilObjStudyProgrammeTreeGUI'] =
static fn($dic) =>
263 $DIC->http()->wrapper(),
277 $dic[
'model.Type.ilStudyProgrammeTypeRepository'],
278 $DIC->ui()->factory(),
279 $DIC->ui()->renderer(),
281 $DIC->http()->request(),
283 $DIC->http()->wrapper()->query()
286 $dic[
'ilStudyProgrammeRepositorySearchGUI'] =
static fn($dic) =>
288 $dic[
'ilObjStudyProgrammeIndividualPlanGUI'] =
static fn($dic) =>
294 $dic[
'repo.assignment'],
296 $DIC->http()->wrapper(),
299 $dic[
'ilObjStudyProgrammeAutoCategoriesGUI'] =
static fn($dic) =>
305 $DIC->ui()->factory(),
306 $DIC[
'ui.factory']->messageBox(),
307 $DIC[
'ui.factory']->button(),
308 $DIC->ui()->renderer(),
309 $DIC->http()->request(),
311 $DIC->http()->wrapper()->query(),
314 $dic[
'DataFactory'] =
static fn($dic) =>
315 new \ILIAS\Data\Factory();
316 $dic[
'ilOrgUnitObjectTypePositionSetting'] =
static fn($dic) =>
319 $dic[
'ilStudyProgrammeChangeExpireDateGUI'] =
static fn($dic) =>
326 $DIC->ui()->factory()->input(),
327 $DIC->ui()->renderer(),
328 $DIC->http()->request(),
333 $dic[
'ilStudyProgrammeChangeDeadlineGUI'] =
static fn($dic) =>
340 $DIC->ui()->factory()->input(),
341 $DIC->ui()->renderer(),
342 $DIC->http()->request(),
348 $dic[
'permissionhelper'] =
static function (
$dic) use ($DIC) {
352 $DIC[
'ilObjDataCache'],
358 $dic[
'ilStudyProgrammeUserTable'] =
function (
$dic) use ($DIC) {
362 $dic[
'repo.assignment'],
364 $dic[
'permissionhelper'],
369 $dic[
'ilStudyProgrammeCommonSettingsGUI'] =
static fn($dic) =>
376 $dic[
'Log'] =
static fn($dic) =>
379 $dic[
'current_user'] =
static fn($dic) =>
382 $dic[
'cron.riskyToFail'] =
static fn($dic) =>
384 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
385 $dic[
'ilStudyProgrammeEvents']
387 $dic[
'cron.notRestarted'] =
static fn($dic) =>
389 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
390 $dic[
'ilStudyProgrammeEvents']
392 $dic[
'cron.restart'] =
static fn($dic) =>
394 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
395 $dic[
'ilStudyProgrammeEvents']
397 $dic[
'ui.factory'] =
static fn($dic) => $DIC[
'ui.factory'];
399 $dic[
'pc.statusinfo'] =
static fn($dic) =>
405 new ilTemplate(
"tpl.statusinformation.html",
true,
true,
'Modules/StudyProgramme'),
406 $dic[
'repo.assignment'],
407 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
409 $dic[
'current_user']->
getId()
412 $dic[
'pc.actionnote'] =
static fn($dic) =>
418 new ilTemplate(
"tpl.action_note.html",
true,
true,
'Modules/StudyProgramme'),
419 $dic[
'repo.assignment'],
420 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
421 $dic[
'current_user']->
getId()
static getLogger(string $a_component_id)
Get component logger.
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...
Class ilObjStudyProgrammeAutoCategoriesGUI.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Builds PageContent "Status Information".
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...
Validates if an active certificate is stored in the database and can be downloaded by the user...
static specificDicFor(ilObjStudyProgramme $prg)
ilObjStudyProgrammeMembersGUI: ilStudyProgrammeRepositorySearchGUI ilObjStudyProgrammeMembersGUI: il...
Send mails to users (usually triggered by cron)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilStudyProgrammeUserTable provides a flattened list of progresses at a programme-node.
static _getInstanceByType(string $a_type)
Get Singleton Instance.
Custom repository search gui class for study programme to make it possible to get a handle on users s...
Assignments are relations of users to a PRG; They hold progress-information for (sub-)nodes of the PR...
Class ilObjStudyProgrammeAutoMembershipsGUI.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Builds PageContent "Note".
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilObjStudyProgrammeSettingsGUI: ilStudyProgrammeCommonSettingsGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilObjStudyProgrammeTreeGUI Generates the manage view for ilTrainingProgramme-Repository objects...
Holds information about multi-actions, mainly in context of member-assignemnts and status changes...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...