| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Go to the source code of this file.
Variables | |
| trait | ilPRGAssignmentActions | 
| This trait is for (physical) separation of code only; it is actually just part of an ilPRGAssignment and MUST not be used anywhere else.  More... | |
      
  | 
  protected | 
Definition at line 187 of file ilPRGAssignmentActions.php.
References ilPRGProgress\DATE_FORMAT, ilStudyProgrammeSettingsRepository\get(), ilPRGProgress\getDeadline(), ilPRGProgress\getNodeId(), getNow(), ilPRGProgress\getStatus(), ilPRGProgress\markFailed(), ilPRGProgress\markNotFailed(), ilStudyProgrammeSettings\MODE_LP_COMPLETED, notifyProgressRevertSuccess(), recalculateProgressStatus(), ilPRGProgress\STATUS_FAILED, and ilPRGProgress\STATUS_IN_PROGRESS.
Referenced by changeProgressDeadline(), unmarkAccredited(), and updatePlanFromRepository().
 Here is the call graph for this function:
 Here is the caller graph for this function:| changeAmountOfPoints | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| int | $node_id, | ||
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection, | ||
| int | $points | ||
| ) | 
Definition at line 623 of file ilPRGAssignmentActions.php.
References ilPRGMessageCollection\add(), getNow(), getProgressIdString(), getZipper(), recalculateProgressStatus(), and updateParentProgresses().
 Here is the call graph for this function:| changeProgressDeadline | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| int | $node_id, | ||
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection, | ||
| ?DateTimeImmutable | $deadline | ||
| ) | 
Definition at line 555 of file ilPRGAssignmentActions.php.
References ilPRGMessageCollection\add(), applyProgressDeadline(), getNow(), getProgressIdString(), getZipper(), notifyDeadlineChange(), and updateParentProgresses().
 Here is the call graph for this function:| changeProgressValidityDate | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| int | $node_id, | ||
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection, | ||
| ?DateTimeImmutable | $validity_date | ||
| ) | 
Definition at line 589 of file ilPRGAssignmentActions.php.
References ilPRGMessageCollection\add(), ilPRGProgress\DATE_FORMAT, getNow(), getProgressIdString(), getZipper(), and notifyValidityChange().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 41 of file ilPRGAssignmentActions.php.
Referenced by applyProgressDeadline(), changeAmountOfPoints(), changeProgressDeadline(), changeProgressValidityDate(), invalidate(), markAccredited(), markNotRelevant(), markProgressesFailedForExpiredDeadline(), markRelevant(), recalculateProgressStatus(), resetProgressToSettings(), succeed(), unmarkAccredited(), updateParentProgresses(), and updateProgressValidityFromSettings().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 31 of file ilPRGAssignmentActions.php.
References ILIAS\Survey\Mode\getId().
Referenced by changeAmountOfPoints(), changeProgressDeadline(), changeProgressValidityDate(), markAccredited(), markNotRelevant(), markRelevant(), and unmarkAccredited().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 46 of file ilPRGAssignmentActions.php.
References ilObject\_getAllReferences().
Referenced by ilObjStudyProgramme\getInstanceByObjId(), and ilObjStudyProgramme\getPrgInstanceByObjId().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 265 of file ilPRGAssignmentActions.php.
Referenced by changeAmountOfPoints(), changeProgressDeadline(), changeProgressValidityDate(), initAssignmentDates(), invalidate(), markAccredited(), markNotRelevant(), markProgressesFailedForExpiredDeadline(), markRelevant(), resetProgresses(), succeed(), unmarkAccredited(), and updatePlanFromRepository().
 Here is the caller graph for this function:| initAssignmentDates | ( | ) | 
Definition at line 293 of file ilPRGAssignmentActions.php.
References getZipper().
 Here is the call graph for this function:| invalidate | ( | ilStudyProgrammeSettingsRepository | $settings_repo | ) | 
Definition at line 655 of file ilPRGAssignmentActions.php.
References $path, getNow(), ILIAS\StudyProgramme\Assignment\Node\getPath(), getZipper(), and updateParentProgresses().
 Here is the call graph for this function:| markAccredited | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| ilStudyProgrammeEvents | $events, | ||
| int | $node_id, | ||
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) | 
Definition at line 374 of file ilPRGAssignmentActions.php.
References ILIAS\LTI\ToolProvider\$settings, ilPRGMessageCollection\add(), ilStudyProgrammeSettingsRepository\get(), getNow(), getProgressIdString(), getZipper(), notifyProgressSuccess(), notifyScoreChange(), ilPRGProgress\STATUS_ACCREDITED, updateParentProgresses(), and updateProgressValidityFromSettings().
 Here is the call graph for this function:| markNotRelevant | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| int | $node_id, | ||
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) | 
Definition at line 340 of file ilPRGAssignmentActions.php.
References ilPRGMessageCollection\add(), getNow(), getProgressIdString(), getZipper(), ilPRGProgress\STATUS_COMPLETED, and updateParentProgresses().
 Here is the call graph for this function:| markProgressesFailedForExpiredDeadline | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| int | $acting_usr_id | ||
| ) | 
Definition at line 525 of file ilPRGAssignmentActions.php.
References $path, ilPRGProgress\DATE_FORMAT, getNow(), ILIAS\StudyProgramme\Assignment\Node\getPath(), getZipper(), notifyProgressRevertSuccess(), and updateParentProgresses().
 Here is the call graph for this function:| markRelevant | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| int | $node_id, | ||
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) | 
Definition at line 317 of file ilPRGAssignmentActions.php.
References ilPRGMessageCollection\add(), getNow(), getProgressIdString(), getZipper(), recalculateProgressStatus(), and updateParentProgresses().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 280 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
Referenced by changeProgressDeadline(), and updateProgressDeadlineFromSettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 288 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
Referenced by applyProgressDeadline(), markProgressesFailedForExpiredDeadline(), recalculateProgressStatus(), and unmarkAccredited().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 272 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
Referenced by markAccredited(), recalculateProgressStatus(), and succeed().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 284 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
Referenced by markAccredited(), recalculateProgressStatus(), resetProgressToSettings(), succeed(), and unmarkAccredited().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 276 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
Referenced by changeProgressValidityDate(), recalculateProgressStatus(), resetProgressToSettings(), and updateProgressValidityFromSettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 55 of file ilPRGAssignmentActions.php.
References ILIAS\LTI\ToolProvider\$settings, ilPRGProgress\COMPLETED_BY_SUBNODES, ilStudyProgrammeSettingsRepository\get(), ilPRGProgress\getAchievedPointsOfChildren(), ilPRGProgress\getAmountOfPoints(), ilPRGProgress\getNodeId(), getNow(), ilPRGProgress\getStatus(), ilPRGProgress\getValidityOfQualification(), ilPRGProgress\isRelevant(), ilPRGProgress\isSuccessful(), ilStudyProgrammeSettings\MODE_LP_COMPLETED, ilStudyProgrammeSettings\MODE_POINTS, ilStudyProgrammeSettings\MODE_UNDEFINED, notifyProgressRevertSuccess(), notifyProgressSuccess(), notifyScoreChange(), notifyValidityChange(), ilPRGProgress\STATUS_ACCREDITED, ilPRGProgress\STATUS_COMPLETED, ilPRGProgress\STATUS_IN_PROGRESS, updateProgressValidityFromSettings(), ilPRGProgress\withCurrentAmountOfPoints(), and ilPRGProgress\withStatus().
Referenced by applyProgressDeadline(), changeAmountOfPoints(), markRelevant(), and updateParentProgresses().
 Here is the call graph for this function:
 Here is the caller graph for this function:| resetProgresses | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| int | $acting_usr_id | ||
| ) | 
Definition at line 302 of file ilPRGAssignmentActions.php.
References getZipper(), resetProgressToSettings(), and updateProgressRelevanceFromSettings().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 232 of file ilPRGAssignmentActions.php.
References ILIAS\LTI\ToolProvider\$settings, ilStudyProgrammeSettingsRepository\get(), ilPRGProgress\getAmountOfPoints(), ilPRGProgress\getNodeId(), getNow(), ilPRGProgress\isRelevant(), ilPRGProgress\isSuccessful(), notifyScoreChange(), notifyValidityChange(), updateProgressDeadlineFromSettings(), updateProgressValidityFromSettings(), ilPRGProgress\withAmountOfPoints(), ilPRGProgress\withCurrentAmountOfPoints(), and ilPRGProgress\withValidityOfQualification().
Referenced by resetProgresses(), and updatePlanFromRepository().
 Here is the call graph for this function:
 Here is the caller graph for this function:| succeed | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| int | $node_id, | ||
| int | $triggering_obj_id | ||
| ) | 
Definition at line 495 of file ilPRGAssignmentActions.php.
References ILIAS\LTI\ToolProvider\$settings, ilPRGProgress\DATE_FORMAT, ilStudyProgrammeSettingsRepository\get(), ilPRGProgress\getDeadline(), getNow(), getZipper(), notifyProgressSuccess(), notifyScoreChange(), updateParentProgresses(), and updateProgressValidityFromSettings().
 Here is the call graph for this function:| unmarkAccredited | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| int | $node_id, | ||
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) | 
Definition at line 421 of file ilPRGAssignmentActions.php.
References ilPRGMessageCollection\add(), applyProgressDeadline(), getNow(), getProgressIdString(), getZipper(), notifyProgressRevertSuccess(), notifyScoreChange(), ilPRGProgress\STATUS_COMPLETED, ilPRGProgress\STATUS_IN_PROGRESS, and updateParentProgresses().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 109 of file ilPRGAssignmentActions.php.
References ilPRGProgress\DATE_FORMAT, getNow(), ILIAS\StudyProgramme\Assignment\Zipper\isTop(), recalculateProgressStatus(), and ILIAS\StudyProgramme\Assignment\Zipper\toParent().
Referenced by changeAmountOfPoints(), changeProgressDeadline(), invalidate(), markAccredited(), markNotRelevant(), markProgressesFailedForExpiredDeadline(), markRelevant(), succeed(), unmarkAccredited(), and updatePlanFromRepository().
 Here is the call graph for this function:
 Here is the caller graph for this function:| updatePlanFromRepository | ( | ilStudyProgrammeSettingsRepository | $settings_repo, | 
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) | 
Definition at line 470 of file ilPRGAssignmentActions.php.
References $path, applyProgressDeadline(), getZipper(), resetProgressToSettings(), updateParentProgresses(), and updateProgressRelevanceFromSettings().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 155 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getAssignmentDate(), ilStudyProgrammeDeadlineSettings\getDeadlineDate(), ilStudyProgrammeDeadlineSettings\getDeadlinePeriod(), notifyDeadlineChange(), and ilPRGProgress\withDeadline().
Referenced by resetProgressToSettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 170 of file ilPRGAssignmentActions.php.
References ilStudyProgrammeSettingsRepository\get(), ilPRGProgress\getNodeId(), ilPRGProgress\isInProgress(), ilPRGProgress\isRelevant(), ilStudyProgrammeSettings\STATUS_ACTIVE, ilPRGProgress\STATUS_IN_PROGRESS, ilPRGProgress\STATUS_NOT_RELEVANT, and ilPRGProgress\withStatus().
Referenced by resetProgresses(), and updatePlanFromRepository().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 132 of file ilPRGAssignmentActions.php.
References ilPRGProgress\DATE_FORMAT, ilPRGProgress\getCompletionDate(), getNow(), ilStudyProgrammeValidityOfAchievedQualificationSettings\getQualificationDate(), ilStudyProgrammeValidityOfAchievedQualificationSettings\getQualificationPeriod(), ilPRGProgress\isSuccessful(), notifyValidityChange(), and ilPRGProgress\withValidityOfQualification().
Referenced by markAccredited(), recalculateProgressStatus(), resetProgressToSettings(), and succeed().
 Here is the call graph for this function:
 Here is the caller graph for this function:| trait ilPRGAssignmentActions | 
This trait is for (physical) separation of code only; it is actually just part of an ilPRGAssignment and MUST not be used anywhere else.
Definition at line 28 of file ilPRGAssignmentActions.php.