ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilPrgCronRiskyToFail.php
Go to the documentation of this file.
1 <?php
2 
3 declare(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 }
ilStudyProgrammeSettingsDBRepository $settings_repo
actOnSingleAssignment(ilPRGAssignment $ass)
actual (additional) payload; what to do with the found assignment(s)
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 ...
ilStudyProgrammeEvents $events
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilStudyProgrammeSettingsDBRepository $settings_repo, ilStudyProgrammeEvents $events)
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...