134 : Container
135 {
137 $dic =
new Container();
138
142 $DIC[
'user']->getSettings(),
144 );
145
146 $dic[
'ilAppEventHandler'] =
static fn(
$dic) =>
147 $DIC->offsetExists(
'ilAppEventHandler') ?
$DIC[
'ilAppEventHandler'] : new \ilAppEventHandler();
148
150
151 $dic[
'ilStudyProgrammeEvents'] =
static fn(
$dic) =>
154 $dic[
'ilAppEventHandler'],
155 $dic[
'prgEventHandler']
156 );
157 $dic[
'ilStudyProgrammeDelayedEvents'] =
static fn(
$dic) =>
159
160 $dic[
'repo.assignment'] =
static fn(
$dic) =>
164 $DIC[
'user']->getProfile(),
165 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
166 $dic[
'ilStudyProgrammeDelayedEvents'],
168 );
169
170
171 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'] =
static fn(
$dic) =>
174 );
175 $dic[
'model.AutoMemberships.ilStudyProgrammeAutoMembershipsRepository'] =
static fn(
$dic) =>
179 );
180 $dic[
'model.AutoMemberships.ilStudyProgrammeMembershipSourceReaderFactory'] =
static fn(
$dic) =>
182 $dic[
'model.Type.ilStudyProgrammeTypeRepository'] =
static fn(
$dic) =>
185 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
188 $DIC[
'component.factory'],
191 $DIC[
'resource_storage'],
192 );
193 $dic[
'model.AutoCategories.ilStudyProgrammeAutoCategoriesRepository'] =
static fn(
$dic) =>
197 );
198 $dic[
'ilObjStudyProgrammeSettingsGUI'] =
static fn(
$dic) =>
203 $DIC->ui()->factory()->input(),
204 $DIC->ui()->renderer(),
205 $DIC->http()->request(),
208 $dic[
'model.Type.ilStudyProgrammeTypeRepository'],
209 $dic[
'ilStudyProgrammeCommonSettingsGUI'],
211 $DIC->http()->wrapper()->query(),
212 $DIC[
'learning_object_metadata']
213 );
214 $dic[
'PRGMessages'] =
static fn(
$dic) =>
219 );
220 $dic[
'ilObjStudyProgrammeMembersGUI'] =
static fn(
$dic) =>
228 $dic[
'repo.assignment'],
229 $dic[
'ilStudyProgrammeRepositorySearchGUI'],
230 $dic[
'ilObjStudyProgrammeIndividualPlanGUI'],
234 $DIC->http()->wrapper(),
238 $DIC->http()->request(),
239 );
240 $dic[
'ilObjStudyProgrammeAutoMembershipsGUI'] =
static fn(
$dic) =>
246 $DIC->ui()->factory(),
247 $DIC[
'ui.factory']->messageBox(),
248 $DIC[
'ui.factory']->button(),
249 $DIC->ui()->renderer(),
250 $DIC->http()->request(),
252 $DIC->http()->wrapper()->query(),
255 );
266 $dic[
'model.Type.ilStudyProgrammeTypeRepository'],
273 );
274
275 $dic[
'ilStudyProgrammeRepositorySearchGUI'] =
static fn(
$dic) =>
277 $dic[
'ilObjStudyProgrammeIndividualPlanGUI'] =
static fn(
$dic) =>
283 $dic[
'repo.assignment'],
285 $DIC->http()->wrapper(),
287 );
288 $dic[
'ilObjStudyProgrammeAutoCategoriesGUI'] =
static fn(
$dic) =>
294 $DIC->ui()->factory(),
295 $DIC[
'ui.factory']->messageBox(),
296 $DIC[
'ui.factory']->button(),
297 $DIC->ui()->renderer(),
298 $DIC->http()->request(),
300 $DIC->http()->wrapper()->query(),
302 );
303 $dic[
'DataFactory'] =
static fn(
$dic) =>
304 new \ILIAS\Data\Factory();
305 $dic[
'ilOrgUnitObjectTypePositionSetting'] =
static fn(
$dic) =>
307
308 $dic[
'ilStudyProgrammeChangeExpireDateGUI'] =
static fn(
$dic) =>
315 $DIC->ui()->factory()->input(),
316 $DIC->ui()->renderer(),
317 $DIC->http()->request(),
321 );
322 $dic[
'ilStudyProgrammeChangeDeadlineGUI'] =
static fn(
$dic) =>
329 $DIC->ui()->factory()->input(),
330 $DIC->ui()->renderer(),
331 $DIC->http()->request(),
335 );
336
337 $dic[
'permissionhelper'] =
static function (
$dic) use (
$DIC) {
341 $DIC[
'ilObjDataCache'],
343 -1
344 );
345 };
346
347 $dic[
'ilStudyProgrammeUserTable'] =
function (
$dic) use (
$DIC) {
351 $dic[
'repo.assignment'],
353 $dic[
'permissionhelper'],
355 );
356 };
357
358 $dic[
'ilStudyProgrammeCommonSettingsGUI'] =
static fn(
$dic) =>
364 );
367
368 $dic[
'current_user'] =
static fn(
$dic) =>
370
371 $dic[
'cron.riskyToFail'] =
static fn(
$dic) =>
373 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
374 $dic[
'ilStudyProgrammeEvents']
375 );
376 $dic[
'cron.notRestarted'] =
static fn(
$dic) =>
378 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
379 $dic[
'ilStudyProgrammeEvents']
380 );
381 $dic[
'cron.restart'] =
static fn(
$dic) =>
383 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
384 $dic[
'ilStudyProgrammeEvents']
385 );
386 $dic[
'ui.factory'] =
static fn(
$dic) =>
$DIC[
'ui.factory'];
387
388 $dic[
'pc.statusinfo'] =
static fn(
$dic) =>
394 new ilTemplate(
"tpl.statusinformation.html",
true,
true,
'components/ILIAS/StudyProgramme'),
395 $dic[
'repo.assignment'],
396 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
399 );
400
401 $dic[
'pc.actionnote'] =
static fn(
$dic) =>
407 new ilTemplate(
"tpl.action_note.html",
true,
true,
'components/ILIAS/StudyProgramme'),
408 $dic[
'repo.assignment'],
409 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
411 );
412
414 }
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.