133 : Container
134 {
136 $dic =
new Container();
137
142 );
143
144 $dic[
'ilAppEventHandler'] =
static fn(
$dic) =>
145 $DIC->offsetExists(
'ilAppEventHandler') ?
$DIC[
'ilAppEventHandler'] : new \ilAppEventHandler();
146
148
149 $dic[
'ilStudyProgrammeEvents'] =
static fn(
$dic) =>
152 $dic[
'ilAppEventHandler'],
153 $dic[
'prgEventHandler']
154 );
155 $dic[
'ilStudyProgrammeDelayedEvents'] =
static fn(
$dic) =>
157
158 $dic[
'repo.assignment'] =
static fn(
$dic) =>
162 $DIC[
'user']->getProfile(),
163 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
164 $dic[
'ilStudyProgrammeDelayedEvents'],
166 );
167
168
169 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'] =
static fn(
$dic) =>
172 );
173 $dic[
'model.AutoMemberships.ilStudyProgrammeAutoMembershipsRepository'] =
static fn(
$dic) =>
177 );
178 $dic[
'model.AutoMemberships.ilStudyProgrammeMembershipSourceReaderFactory'] =
static fn(
$dic) =>
180 $dic[
'model.Type.ilStudyProgrammeTypeRepository'] =
static fn(
$dic) =>
183 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
186 $DIC[
'component.factory'],
189 $DIC[
'resource_storage'],
190 );
191 $dic[
'model.AutoCategories.ilStudyProgrammeAutoCategoriesRepository'] =
static fn(
$dic) =>
195 );
196 $dic[
'ilObjStudyProgrammeSettingsGUI'] =
static fn(
$dic) =>
201 $DIC->ui()->factory()->input(),
202 $DIC->ui()->renderer(),
203 $DIC->http()->request(),
206 $dic[
'model.Type.ilStudyProgrammeTypeRepository'],
207 $dic[
'ilStudyProgrammeCommonSettingsGUI'],
209 $DIC->http()->wrapper()->query(),
210 $DIC[
'learning_object_metadata']
211 );
212 $dic[
'PRGMessages'] =
static fn(
$dic) =>
217 );
218 $dic[
'ilObjStudyProgrammeMembersGUI'] =
static fn(
$dic) =>
226 $dic[
'repo.assignment'],
227 $dic[
'ilStudyProgrammeRepositorySearchGUI'],
228 $dic[
'ilObjStudyProgrammeIndividualPlanGUI'],
232 $DIC->http()->wrapper(),
236 $DIC->http()->request(),
237 );
238 $dic[
'ilObjStudyProgrammeAutoMembershipsGUI'] =
static fn(
$dic) =>
244 $DIC->ui()->factory(),
245 $DIC[
'ui.factory']->messageBox(),
246 $DIC[
'ui.factory']->button(),
247 $DIC->ui()->renderer(),
248 $DIC->http()->request(),
250 $DIC->http()->wrapper()->query(),
253 );
264 $dic[
'model.Type.ilStudyProgrammeTypeRepository'],
271 );
272
273 $dic[
'ilStudyProgrammeRepositorySearchGUI'] =
static fn(
$dic) =>
275 $dic[
'ilObjStudyProgrammeIndividualPlanGUI'] =
static fn(
$dic) =>
281 $dic[
'repo.assignment'],
283 $DIC->http()->wrapper(),
285 );
286 $dic[
'ilObjStudyProgrammeAutoCategoriesGUI'] =
static fn(
$dic) =>
292 $DIC->ui()->factory(),
293 $DIC[
'ui.factory']->messageBox(),
294 $DIC[
'ui.factory']->button(),
295 $DIC->ui()->renderer(),
296 $DIC->http()->request(),
298 $DIC->http()->wrapper()->query(),
300 );
301 $dic[
'DataFactory'] =
static fn(
$dic) =>
302 new \ILIAS\Data\Factory();
303 $dic[
'ilOrgUnitObjectTypePositionSetting'] =
static fn(
$dic) =>
305
306 $dic[
'ilStudyProgrammeChangeExpireDateGUI'] =
static fn(
$dic) =>
313 $DIC->ui()->factory()->input(),
314 $DIC->ui()->renderer(),
315 $DIC->http()->request(),
319 );
320 $dic[
'ilStudyProgrammeChangeDeadlineGUI'] =
static fn(
$dic) =>
327 $DIC->ui()->factory()->input(),
328 $DIC->ui()->renderer(),
329 $DIC->http()->request(),
333 );
334
335 $dic[
'permissionhelper'] =
static function (
$dic) use (
$DIC) {
339 $DIC[
'ilObjDataCache'],
341 -1
342 );
343 };
344
345 $dic[
'ilStudyProgrammeUserTable'] =
function (
$dic) use (
$DIC) {
349 $dic[
'repo.assignment'],
351 $dic[
'permissionhelper'],
353 );
354 };
355
356 $dic[
'ilStudyProgrammeCommonSettingsGUI'] =
static fn(
$dic) =>
362 );
365
366 $dic[
'current_user'] =
static fn(
$dic) =>
368
369 $dic[
'cron.riskyToFail'] =
static fn(
$dic) =>
371 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
372 $dic[
'ilStudyProgrammeEvents']
373 );
374 $dic[
'cron.notRestarted'] =
static fn(
$dic) =>
376 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
377 $dic[
'ilStudyProgrammeEvents']
378 );
379 $dic[
'cron.restart'] =
static fn(
$dic) =>
381 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
382 $dic[
'ilStudyProgrammeEvents']
383 );
384 $dic[
'ui.factory'] =
static fn(
$dic) =>
$DIC[
'ui.factory'];
385
386 $dic[
'pc.statusinfo'] =
static fn(
$dic) =>
392 new ilTemplate(
"tpl.statusinformation.html",
true,
true,
'components/ILIAS/StudyProgramme'),
393 $dic[
'repo.assignment'],
394 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
397 );
398
399 $dic[
'pc.actionnote'] =
static fn(
$dic) =>
405 new ilTemplate(
"tpl.action_note.html",
true,
true,
'components/ILIAS/StudyProgramme'),
406 $dic[
'repo.assignment'],
407 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
409 );
410
412 }
Validates if an active certificate is stored in the database and can be downloaded by the user.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _getInstanceByType(string $a_type)
Get Singleton Instance.
static getLogger(string $a_component_id)
Get component logger.
Class ilObjStudyProgrammeAutoCategoriesGUI.
Class ilObjStudyProgrammeAutoMembershipsGUI.
@ilCtrl_Calls ilObjStudyProgrammeMembersGUI: ilStudyProgrammeRepositorySearchGUI @ilCtrl_Calls ilObjS...
@ilCtrl_Calls ilObjStudyProgrammeSettingsGUI: ilStudyProgrammeCommonSettingsGUI
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 PageContent "Note".
Assignments are relations of users to a PRG; They hold progress-information for (sub-)nodes of the PR...
Send mails to users (usually triggered by cron)
Holds information about multi-actions, mainly in context of member-assignemnts and status changes.
Util around ilPRGMessageCollection factors and output collections.
Both role and OrgU-based permissions are relevant in many places of the PRG.
Builds PageContent "Status Information".
Class ilStudyProgrammeAutoCategoryDBRepository.
Class ilStudyProgrammeAutoMembershipsDBRepository.
Provides adapters to read member-ids from a specific source.
Custom repository search gui class for study programme to make it possible to get a handle on users s...
ilStudyProgrammeUserTable provides a flattened list of progresses at a programme-node.
special template class to simplify handling of ITX/PEAR
static http()
Fetches the global http state from ILIAS.