ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
interface.StudyProgrammeEvents.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 {
23  public const COMPONENT = "Modules/StudyProgramme";
24  public const EVENT_USER_ASSIGNED = 'userAssigned';
25  public const EVENT_USER_REASSIGNED = 'userReAssigned';
26  public const EVENT_USER_DEASSIGNED = 'userDeassigned';
27  public const EVENT_USER_SUCCESSFUL = 'userSuccessful';
28  public const EVENT_USER_TO_RESTART = 'informUserToRestart';
29  public const EVENT_USER_ABOUT_TO_FAIL = 'userRiskyToFail';
30  public const EVENT_VALIDITY_CHANGE = 'vqChange';
31  public const EVENT_DEADLINE_CHANGE = 'deadlineChange';
32  public const EVENT_SCORE_CHANGE = 'currentPointsChange';
33  public const EVENT_USER_NOT_SUCCESSFUL = 'userNotSuccessful';
34 
35 
36  public function userAssigned(ilPRGAssignment $assignment): void;
37  public function userReAssigned(ilPRGAssignment $assignment): void;
38  public function userDeassigned(ilPRGAssignment $a_assignment): void;
39 
40  public function userSuccessful(ilPRGAssignment $assignment, int $pgs_node_id): void;
41  public function userRevertSuccessful(ilPRGAssignment $assignment, int $pgs_node_id): void;
42  public function validityChange(ilPRGAssignment $assignment, int $pgs_node_id): void;
43  public function deadlineChange(ilPRGAssignment $assignment, int $pgs_node_id): void;
44  public function scoreChange(ilPRGAssignment $assignment, int $pgs_node_id): void;
45 
46  public function userRiskyToFail(ilPRGAssignment $assignment): void;
47  public function informUserByMailToRestart(ilPRGAssignment $assignment): void;
48 }
validityChange(ilPRGAssignment $assignment, int $pgs_node_id)
deadlineChange(ilPRGAssignment $assignment, int $pgs_node_id)
userAssigned(ilPRGAssignment $assignment)
userRiskyToFail(ilPRGAssignment $assignment)
userRevertSuccessful(ilPRGAssignment $assignment, int $pgs_node_id)
userSuccessful(ilPRGAssignment $assignment, int $pgs_node_id)
userReAssigned(ilPRGAssignment $assignment)
informUserByMailToRestart(ilPRGAssignment $assignment)
Assignments are relations of users to a PRG; They hold progress-information for (sub-)nodes of the PR...
scoreChange(ilPRGAssignment $assignment, int $pgs_node_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
userDeassigned(ilPRGAssignment $a_assignment)