ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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.
Referenced by 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(), ilPRGProgress\getNodeId(), and getProgressIdString().
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(), ilPRGProgress\getNodeId(), and getProgressIdString().
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\getNodeId(), and getProgressIdString().
|
protected |
Definition at line 41 of file ilPRGAssignmentActions.php.
Referenced by ILIAS\Glossary\Flashcard\FlashcardManager\getNonTodayUserTermsForBox(), ILIAS\Glossary\Flashcard\FlashcardManager\getTodayUserTermsForBox(), and updateParentProgresses().
|
protected |
Definition at line 31 of file ilPRGAssignmentActions.php.
Referenced by changeAmountOfPoints(), changeProgressDeadline(), changeProgressValidityDate(), markNotRelevant(), and markRelevant().
|
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 initAssignmentDates().
initAssignmentDates | ( | ) |
Definition at line 293 of file ilPRGAssignmentActions.php.
References getZipper(), and ilPRGProgress\withAssignmentDate().
invalidate | ( | ilStudyProgrammeSettingsRepository | $settings_repo | ) |
Definition at line 655 of file ilPRGAssignmentActions.php.
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(), ilPRGProgress\getAmountOfPoints(), ilPRGProgress\getNodeId(), ilPRGProgress\getStatus(), ilPRGProgress\getValidityOfQualification(), if, ilPRGProgress\isRelevant(), ilPRGProgress\isTransitionAllowedTo(), ilPRGProgress\markAccredited(), and ilPRGProgress\STATUS_ACCREDITED.
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(), and getProgressIdString().
markProgressesFailedForExpiredDeadline | ( | ilStudyProgrammeSettingsRepository | $settings_repo, |
int | $acting_usr_id | ||
) |
Definition at line 525 of file ilPRGAssignmentActions.php.
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(), ilPRGProgress\getNodeId(), and getProgressIdString().
|
protected |
Definition at line 280 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
|
protected |
Definition at line 288 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
|
protected |
Definition at line 272 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
|
protected |
Definition at line 284 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
|
protected |
Definition at line 276 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getNodeId().
|
protected |
Definition at line 55 of file ilPRGAssignmentActions.php.
Referenced by updateParentProgresses().
resetProgresses | ( | ilStudyProgrammeSettingsRepository | $settings_repo, |
int | $acting_usr_id | ||
) |
Definition at line 302 of file ilPRGAssignmentActions.php.
References resetProgressToSettings(), and updateProgressRelevanceFromSettings().
|
protected |
Definition at line 232 of file ilPRGAssignmentActions.php.
References updateProgressDeadlineFromSettings(), and updateProgressValidityFromSettings().
Referenced by resetProgresses(), and updatePlanFromRepository().
succeed | ( | ilStudyProgrammeSettingsRepository | $settings_repo, |
int | $node_id, | ||
int | $triggering_obj_id | ||
) |
Definition at line 495 of file ilPRGAssignmentActions.php.
unmarkAccredited | ( | ilStudyProgrammeSettingsRepository | $settings_repo, |
int | $node_id, | ||
int | $acting_usr_id, | ||
ilPRGMessageCollection | $err_collection | ||
) |
Definition at line 421 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getAchievedPointsOfChildren(), ilPRGProgress\getStatus(), if, ilPRGProgress\isRelevant(), ilPRGProgress\isTransitionAllowedTo(), ilPRGProgress\STATUS_COMPLETED, ilPRGProgress\STATUS_IN_PROGRESS, and ilPRGProgress\unmarkAccredited().
|
protected |
Definition at line 109 of file ilPRGAssignmentActions.php.
References ilPRGProgress\DATE_FORMAT, getNow(), recalculateProgressStatus(), and ILIAS\StudyProgramme\Assignment\Zipper\toParent().
updatePlanFromRepository | ( | ilStudyProgrammeSettingsRepository | $settings_repo, |
int | $acting_usr_id, | ||
ilPRGMessageCollection | $err_collection | ||
) |
Definition at line 470 of file ilPRGAssignmentActions.php.
References applyProgressDeadline(), ILIAS\StudyProgramme\Assignment\Node\getPath(), ILIAS\StudyProgramme\Assignment\Node\getSubnodes(), resetProgressToSettings(), and updateProgressRelevanceFromSettings().
|
protected |
Definition at line 155 of file ilPRGAssignmentActions.php.
References ilPRGProgress\getAssignmentDate().
Referenced by resetProgressToSettings().
|
protected |
Definition at line 170 of file ilPRGAssignmentActions.php.
References ilPRGProgress\STATUS_IN_PROGRESS, and ilPRGProgress\withStatus().
Referenced by resetProgresses(), and updatePlanFromRepository().
|
protected |
Definition at line 132 of file ilPRGAssignmentActions.php.
Referenced by resetProgressToSettings().
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 27 of file ilPRGAssignmentActions.php.