ILIAS  release_8 Revision v8.24
ilPrgNotRestarted.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
23{
26
27 public function __construct(
30 ) {
31 $this->settings_repo = $settings_repo;
32 $this->events = $events;
33 }
34
35 public function getRelevantProgrammeIds(): array
36 {
37 return $this->settings_repo
38 ->getProgrammeIdsWithMailsForExpiringValidity();
39 }
40
41 public function actOnSingleAssignment(ilPRGAssignment $ass): void
42 {
43 $this->events->informUserByMailToRestart($ass);
44 }
45}
Assignments are relations of users to a PRG; They hold progress-information for (sub-)nodes of the PR...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilStudyProgrammeEvents $events
actOnSingleAssignment(ilPRGAssignment $ass)
actual (additional) payload; what to do with the found assignment(s)
__construct(ilStudyProgrammeSettingsDBRepository $settings_repo, ilStudyProgrammeEvents $events)
getRelevantProgrammeIds()
acts as a pre-filter to not touch all PRGs; return obj_ids and config-setting, when a mail should be ...
ilStudyProgrammeSettingsDBRepository $settings_repo
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...