ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilPrgCronRiskyToFail.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
25
26 public function __construct(
29 ) {
30 $this->settings_repo = $settings_repo;
31 $this->events = $events;
32 }
33
34 public function getRelevantProgrammeIds(): array
35 {
36 return $this->settings_repo->getProgrammeIdsWithRiskyToFailSettings();
37 }
38
39 public function actOnSingleAssignment(ilPRGAssignment $ass): void
40 {
41 $this->events->userRiskyToFail($ass);
42 }
43}
Assignments are relations of users to a PRG; They hold progress-information for (sub-)nodes of the PR...
getRelevantProgrammeIds()
acts as a pre-filter to not touch all PRGs; return obj_ids and config-setting, when a mail should be ...
__construct(ilStudyProgrammeSettingsDBRepository $settings_repo, ilStudyProgrammeEvents $events)
actOnSingleAssignment(ilPRGAssignment $ass)
actual (additional) payload; what to do with the found assignment(s)
ilStudyProgrammeEvents $events
ilStudyProgrammeSettingsDBRepository $settings_repo