ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
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().
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().
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().
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().
|
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().
|
protected |
Definition at line 31 of file ilPRGAssignmentActions.php.
References ILIAS\Survey\Mode\getId().
Referenced by changeAmountOfPoints(), changeProgressDeadline(), changeProgressValidityDate(), markAccredited(), markNotRelevant(), markRelevant(), and unmarkAccredited().
|
protected |
Definition at line 46 of file ilPRGAssignmentActions.php.
References ilObject\_getAllReferences().
Referenced by ilObjStudyProgramme\getInstanceByObjId(), and ilObjStudyProgramme\getPrgInstanceByObjId().
|
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().
initAssignmentDates | ( | ) |
Definition at line 293 of file ilPRGAssignmentActions.php.
References getZipper().
invalidate | ( | ilStudyProgrammeSettingsRepository | $settings_repo | ) |
Definition at line 655 of file ilPRGAssignmentActions.php.
References $path, getNow(), ILIAS\StudyProgramme\Assignment\Node\getPath(), getZipper(), and updateParentProgresses().
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 ilPRGMessageCollection\add(), ilStudyProgrammeSettingsRepository\get(), getNow(), getProgressIdString(), getZipper(), notifyProgressSuccess(), notifyScoreChange(), ilPRGProgress\STATUS_ACCREDITED, updateParentProgresses(), and updateProgressValidityFromSettings().
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().
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().
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().
|
protected |
Definition at line 280 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
Referenced by changeProgressDeadline(), and updateProgressDeadlineFromSettings().
|
protected |
Definition at line 288 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
Referenced by applyProgressDeadline(), markProgressesFailedForExpiredDeadline(), recalculateProgressStatus(), and unmarkAccredited().
|
protected |
Definition at line 272 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
Referenced by markAccredited(), recalculateProgressStatus(), and succeed().
|
protected |
Definition at line 284 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
Referenced by markAccredited(), recalculateProgressStatus(), resetProgressToSettings(), succeed(), and unmarkAccredited().
|
protected |
Definition at line 276 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
Referenced by changeProgressValidityDate(), recalculateProgressStatus(), resetProgressToSettings(), and updateProgressValidityFromSettings().
|
protected |
Definition at line 55 of file ilPRGAssignmentActions.php.
References 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(), null, ilPRGProgress\STATUS_ACCREDITED, ilPRGProgress\STATUS_COMPLETED, ilPRGProgress\STATUS_IN_PROGRESS, updateProgressValidityFromSettings(), ilPRGProgress\withCurrentAmountOfPoints(), and ilPRGProgress\withStatus().
Referenced by applyProgressDeadline(), changeAmountOfPoints(), markRelevant(), and updateParentProgresses().
resetProgresses | ( | ilStudyProgrammeSettingsRepository | $settings_repo, |
int | $acting_usr_id | ||
) |
Definition at line 302 of file ilPRGAssignmentActions.php.
References getZipper(), resetProgressToSettings(), and updateProgressRelevanceFromSettings().
|
protected |
Definition at line 232 of file ilPRGAssignmentActions.php.
References ilStudyProgrammeSettingsRepository\get(), ilPRGProgress\getAmountOfPoints(), ilPRGProgress\getNodeId(), getNow(), ilPRGProgress\isRelevant(), ilPRGProgress\isSuccessful(), notifyScoreChange(), notifyValidityChange(), null, updateProgressDeadlineFromSettings(), updateProgressValidityFromSettings(), ilPRGProgress\withAmountOfPoints(), ilPRGProgress\withCurrentAmountOfPoints(), and ilPRGProgress\withValidityOfQualification().
Referenced by resetProgresses(), and updatePlanFromRepository().
succeed | ( | ilStudyProgrammeSettingsRepository | $settings_repo, |
int | $node_id, | ||
int | $triggering_obj_id | ||
) |
Definition at line 495 of file ilPRGAssignmentActions.php.
References ilPRGProgress\DATE_FORMAT, ilStudyProgrammeSettingsRepository\get(), ilPRGProgress\getDeadline(), getNow(), getZipper(), notifyProgressSuccess(), notifyScoreChange(), updateParentProgresses(), and updateProgressValidityFromSettings().
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().
|
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().
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().
|
protected |
Definition at line 155 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getAssignmentDate(), ilStudyProgrammeDeadlineSettings\getDeadlineDate(), ilStudyProgrammeDeadlineSettings\getDeadlinePeriod(), notifyDeadlineChange(), and ilPRGProgress\withDeadline().
Referenced by resetProgressToSettings().
|
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().
|
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().
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.