ILIAS  release_8 Revision v8.24
ilPrgCronRiskyToFail.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->getProgrammeIdsWithRiskyToFailSettings();
38 }
39
40 public function actOnSingleAssignment(ilPRGAssignment $ass): void
41 {
42 $this->events->userRiskyToFail($ass);
43 }
44}
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...
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
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...