ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilStudyProgrammeProgress. More...
Public Member Functions | |
__construct (int $id) | |
getId () | |
Get the id of the progress. More... | |
getAssignmentId () | |
Get the assignment this progress belongs to. More... | |
withAssignmentId (int $assignment_id) | |
getNodeId () | |
Get the obj_id of the program node this progress belongs to. More... | |
withNodeId (int $prg_id) | |
getUserId () | |
Get the id of the user this progress is for. More... | |
withUserId (int $usr_id) | |
getAmountOfPoints () | |
Get the amount of points the user needs to achieve on the subnodes of this node. More... | |
withAmountOfPoints (int $points) | |
Throws when amount of points is smaller then zero. More... | |
getCurrentAmountOfPoints () | |
withCurrentAmountOfPoints (int $points_cur) | |
Set the amount of points the user currently has achieved on this node. More... | |
getStatus () | |
Get the status the user has on this node. More... | |
withStatus (int $status) | |
Set the status of this node. More... | |
isTransitionAllowedTo (int $new_status) | |
getLastChangeBy () | |
Get the id of the user/object who/which invoked the last change on this assignment. More... | |
getLastChange () | |
withLastChange (int $last_change_by, DateTimeImmutable $timestamp) | |
getAssignmentDate () | |
withAssignmentDate (DateTimeImmutable $assignment_date) | |
getCompletionDate () | |
getCompletionBy () | |
Get the id of object or user that lead to the successful completion of this node. More... | |
withCompletion (int $usr_or_obj_id=null, DateTimeImmutable $completion_date=null) | |
getDeadline () | |
withDeadline (DateTimeImmutable $deadline=null) | |
getValidityOfQualification () | |
withValidityOfQualification (DateTimeImmutable $date=null) | |
hasIndividualModifications () | |
withIndividualModifications (bool $individual) | |
isSuccessful () | |
hasValidQualification (DateTimeImmutable $now) | |
There may be no qualification at all (since the PRG is not passed), or the qualification is valid or invalid due to a date. More... | |
isRelevant () | |
isFailed () | |
isAccredited () | |
isInProgress () | |
invalidate () | |
isInvalidated () | |
isSuccessfulExpired () | |
markAccredited (DateTimeImmutable $date, int $acting_usr_id) | |
unmarkAccredited (DateTimeImmutable $date, int $acting_usr_id) | |
markFailed (DateTimeImmutable $date, int $acting_usr_id) | |
markNotFailed (DateTimeImmutable $date, int $acting_usr_id) | |
succeed (DateTimeImmutable $date, int $triggering_obj_id) | |
markNotRelevant (DateTimeImmutable $date, int $acting_usr_id) | |
markRelevant (DateTimeImmutable $date, int $acting_usr_id) | |
Static Public Member Functions | |
static | getAllowedTargetStatusFor (int $status_from) |
Data Fields | |
const | STATUS_IN_PROGRESS = 1 |
const | STATUS_COMPLETED = 2 |
const | STATUS_ACCREDITED = 3 |
const | STATUS_NOT_RELEVANT = 4 |
const | STATUS_FAILED = 5 |
const | DATE_TIME_FORMAT = 'Y-m-d H:i:s' |
const | DATE_FORMAT = 'Y-m-d' |
const | DATE_FORMAT_ENDOFDAY = 'Y-m-d 23:59:59' |
Static Public Attributes | |
static | $STATUS |
Protected Attributes | |
$id | |
$assignment_id | |
$prg_id | |
$usr_id | |
$points = 0 | |
$points_cur = 0 | |
$status | |
$completion_by | |
$last_change | |
$last_change_by | |
$assignment_date | |
$completion_date | |
$deadline | |
$vq_date | |
$invalidated = false | |
$is_individual = false | |
Class ilStudyProgrammeProgress.
Represents the progress of a user for one program assignment on one node of the program.
The user has one progress per assignment and program node in the subtree of the assigned program.
Definition at line 20 of file class.ilStudyProgrammeProgress.php.
ilStudyProgrammeProgress::__construct | ( | int | $id | ) |
|
static |
Definition at line 320 of file class.ilStudyProgrammeProgress.php.
Referenced by ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect().
ilStudyProgrammeProgress::getAmountOfPoints | ( | ) |
Get the amount of points the user needs to achieve on the subnodes of this node.
Also the amount of points, this node yields for the progress on the nodes above.
Definition at line 240 of file class.ilStudyProgrammeProgress.php.
References $points.
Referenced by ilStudyProgrammeProgressListGUI\buildProgressBar(), ilStudyProgrammeProgressListGUI\buildProgressStatus(), ilStudyProgrammeProgressListGUI\buildToolTip(), ilObjStudyProgramme\canBeCompleted(), ilObjStudyProgramme\recalculateProgressStatus(), and ilStudyProgrammeProgressDBRepository\update().
ilStudyProgrammeProgress::getAssignmentDate | ( | ) |
Definition at line 396 of file class.ilStudyProgrammeProgress.php.
References $assignment_date.
Referenced by ilStudyProgrammeProgressDBRepository\update().
ilStudyProgrammeProgress::getAssignmentId | ( | ) |
Get the assignment this progress belongs to.
Definition at line 193 of file class.ilStudyProgrammeProgress.php.
References $assignment_id.
Referenced by ilObjStudyProgramme\getAssignmentForProgress(), ilObjStudyProgramme\getParentProgress(), ilStudyProgrammeEvents\informUserByMailToRestart(), ilStudyProgrammeProgressDBRepository\update(), and ilStudyProgrammeEvents\userSuccessful().
ilStudyProgrammeProgress::getCompletionBy | ( | ) |
Get the id of object or user that lead to the successful completion of this node.
Definition at line 417 of file class.ilStudyProgrammeProgress.php.
References $completion_by.
Referenced by ilStudyProgrammeProgressDBRepository\update().
ilStudyProgrammeProgress::getCompletionDate | ( | ) |
Definition at line 408 of file class.ilStudyProgrammeProgress.php.
References $completion_date.
Referenced by ilStudyProgrammeMailTemplateContext\getNewestProgressForUser(), ilStudyProgrammeProgressDBRepository\update(), and ilObjStudyProgramme\updateProgressValidityFromSettings().
ilStudyProgrammeProgress::getCurrentAmountOfPoints | ( | ) |
Definition at line 260 of file class.ilStudyProgrammeProgress.php.
References $points_cur.
Referenced by ilStudyProgrammeProgressListGUI\buildProgressBar(), ilStudyProgrammeProgressListGUI\buildProgressStatus(), ilStudyProgrammeProgressListGUI\buildToolTip(), and ilStudyProgrammeProgressDBRepository\update().
ilStudyProgrammeProgress::getDeadline | ( | ) |
Definition at line 432 of file class.ilStudyProgrammeProgress.php.
References $deadline.
Referenced by ilObjStudyProgramme\applyProgressDeadline(), and ilStudyProgrammeProgressDBRepository\update().
ilStudyProgrammeProgress::getId | ( | ) |
Get the id of the progress.
Definition at line 185 of file class.ilStudyProgrammeProgress.php.
References $id.
Referenced by ilStudyProgrammeProgressListGUI\buildProgressBar(), ilObjStudyProgramme\getProgressIdString(), ilStudyProgrammeProgressListGUI\getTitleAndIconTarget(), ilStudyProgrammeEvents\informUserByMailToRestart(), ilStudyProgrammeProgressDBRepository\update(), ilStudyProgrammeEvents\userRiskyToFail(), and withStatus().
ilStudyProgrammeProgress::getLastChange | ( | ) |
Definition at line 366 of file class.ilStudyProgrammeProgress.php.
References $last_change.
Referenced by ilStudyProgrammeProgressDBRepository\update(), and withLastChange().
ilStudyProgrammeProgress::getLastChangeBy | ( | ) |
Get the id of the user/object who/which invoked the last change on this assignment.
Definition at line 361 of file class.ilStudyProgrammeProgress.php.
References $last_change_by.
Referenced by ilStudyProgrammeProgressDBRepository\update().
ilStudyProgrammeProgress::getNodeId | ( | ) |
Get the obj_id of the program node this progress belongs to.
Definition at line 208 of file class.ilStudyProgrammeProgress.php.
References $prg_id.
Referenced by ilStudyProgrammeProgressListGUI\buildProgressBar(), ilStudyProgrammeIndividualPlanProgressListGUI\buildProgressStatus(), ilStudyProgrammeProgressListGUI\buildProgressStatus(), ilObjStudyProgramme\getParentProgress(), ilObjStudyProgramme\getProgrammeSettingsForProgress(), ilObjStudyProgramme\recalculateProgressStatus(), ilStudyProgrammeExpandableProgressListGUI\shouldShowSubProgress(), ilStudyProgrammeProgressDBRepository\update(), and ilStudyProgrammeEvents\userSuccessful().
ilStudyProgrammeProgress::getStatus | ( | ) |
Get the status the user has on this node.
Definition at line 285 of file class.ilStudyProgrammeProgress.php.
References $status.
Referenced by ilObjStudyProgramme\applyProgressDeadline(), isAccredited(), isFailed(), isInProgress(), isRelevant(), isSuccessful(), ilStudyProgrammeProgressDBRepository\update(), and withStatus().
ilStudyProgrammeProgress::getUserId | ( | ) |
Get the id of the user this progress is for.
Definition at line 223 of file class.ilStudyProgrammeProgress.php.
References $usr_id.
Referenced by ilObjStudyProgramme\getProgressIdString(), ilStudyProgrammeEvents\informUserByMailToRestart(), ilObjStudyProgramme\recalculateProgressStatus(), ilStudyProgrammeProgressDBRepository\update(), and ilStudyProgrammeEvents\userRiskyToFail().
ilStudyProgrammeProgress::getValidityOfQualification | ( | ) |
Definition at line 444 of file class.ilStudyProgrammeProgress.php.
References $vq_date.
Referenced by hasValidQualification(), isSuccessfulExpired(), and ilStudyProgrammeProgressDBRepository\update().
ilStudyProgrammeProgress::hasIndividualModifications | ( | ) |
Definition at line 456 of file class.ilStudyProgrammeProgress.php.
References $is_individual.
Referenced by ilStudyProgrammeProgressTest\testIndividualPlan(), and ilStudyProgrammeProgressDBRepository\update().
ilStudyProgrammeProgress::hasValidQualification | ( | DateTimeImmutable | $now | ) |
There may be no qualification at all (since the PRG is not passed), or the qualification is valid or invalid due to a date.
Definition at line 483 of file class.ilStudyProgrammeProgress.php.
References getValidityOfQualification(), and isSuccessful().
ilStudyProgrammeProgress::invalidate | ( | ) |
Definition at line 514 of file class.ilStudyProgrammeProgress.php.
Referenced by ilStudyProgrammeProgressDBRepository\buildByRow().
ilStudyProgrammeProgress::isAccredited | ( | ) |
Definition at line 504 of file class.ilStudyProgrammeProgress.php.
References getStatus().
Referenced by ilStudyProgrammeMailTemplateContext\getNewestProgressForUser().
ilStudyProgrammeProgress::isFailed | ( | ) |
Definition at line 499 of file class.ilStudyProgrammeProgress.php.
References getStatus().
ilStudyProgrammeProgress::isInProgress | ( | ) |
Definition at line 509 of file class.ilStudyProgrammeProgress.php.
References getStatus().
ilStudyProgrammeProgress::isInvalidated | ( | ) |
Definition at line 524 of file class.ilStudyProgrammeProgress.php.
References $invalidated.
Referenced by ilStudyProgrammeProgressDBRepository\update().
ilStudyProgrammeProgress::isRelevant | ( | ) |
Definition at line 494 of file class.ilStudyProgrammeProgress.php.
References getStatus().
Referenced by ilObjStudyProgramme\recalculateProgressStatus(), ilObjStudyProgramme\resetProgressToSettings(), and ilStudyProgrammeExpandableProgressListGUI\shouldShowSubProgress().
ilStudyProgrammeProgress::isSuccessful | ( | ) |
Definition at line 468 of file class.ilStudyProgrammeProgress.php.
References getStatus().
Referenced by ilStudyProgrammeProgressListGUI\buildProgressBar(), ilStudyProgrammeIndividualPlanProgressListGUI\buildProgressStatus(), ilStudyProgrammeMailTemplateContext\getNewestProgressForUser(), hasValidQualification(), and ilObjStudyProgramme\recalculateProgressStatus().
ilStudyProgrammeProgress::isSuccessfulExpired | ( | ) |
Definition at line 532 of file class.ilStudyProgrammeProgress.php.
References getValidityOfQualification().
Referenced by ilStudyProgrammeMailTemplateContext\getNewestProgressForUser().
ilStudyProgrammeProgress::isTransitionAllowedTo | ( | int | $new_status | ) |
Definition at line 313 of file class.ilStudyProgrammeProgress.php.
Referenced by withStatus().
ilStudyProgrammeProgress::markAccredited | ( | DateTimeImmutable | $date, |
int | $acting_usr_id | ||
) |
Definition at line 543 of file class.ilStudyProgrammeProgress.php.
References withStatus().
ilStudyProgrammeProgress::markFailed | ( | DateTimeImmutable | $date, |
int | $acting_usr_id | ||
) |
Definition at line 560 of file class.ilStudyProgrammeProgress.php.
References withStatus().
Referenced by ilObjStudyProgramme\applyProgressDeadline().
ilStudyProgrammeProgress::markNotFailed | ( | DateTimeImmutable | $date, |
int | $acting_usr_id | ||
) |
Definition at line 568 of file class.ilStudyProgrammeProgress.php.
References withStatus().
Referenced by ilObjStudyProgramme\applyProgressDeadline().
ilStudyProgrammeProgress::markNotRelevant | ( | DateTimeImmutable | $date, |
int | $acting_usr_id | ||
) |
Definition at line 584 of file class.ilStudyProgrammeProgress.php.
References withStatus().
ilStudyProgrammeProgress::markRelevant | ( | DateTimeImmutable | $date, |
int | $acting_usr_id | ||
) |
Definition at line 594 of file class.ilStudyProgrammeProgress.php.
References withStatus().
ilStudyProgrammeProgress::succeed | ( | DateTimeImmutable | $date, |
int | $triggering_obj_id | ||
) |
Definition at line 576 of file class.ilStudyProgrammeProgress.php.
References withStatus().
ilStudyProgrammeProgress::unmarkAccredited | ( | DateTimeImmutable | $date, |
int | $acting_usr_id | ||
) |
Definition at line 551 of file class.ilStudyProgrammeProgress.php.
References withStatus().
ilStudyProgrammeProgress::withAmountOfPoints | ( | int | $points | ) |
Throws when amount of points is smaller then zero.
Definition at line 248 of file class.ilStudyProgrammeProgress.php.
References $points.
Referenced by ilObjStudyProgramme\resetProgressToSettings().
ilStudyProgrammeProgress::withAssignmentDate | ( | DateTimeImmutable | $assignment_date | ) |
Definition at line 401 of file class.ilStudyProgrammeProgress.php.
References $assignment_date.
ilStudyProgrammeProgress::withAssignmentId | ( | int | $assignment_id | ) |
Definition at line 198 of file class.ilStudyProgrammeProgress.php.
References $assignment_id.
ilStudyProgrammeProgress::withCompletion | ( | int | $usr_or_obj_id = null , |
DateTimeImmutable | $completion_date = null |
||
) |
Definition at line 422 of file class.ilStudyProgrammeProgress.php.
References $completion_date.
ilStudyProgrammeProgress::withCurrentAmountOfPoints | ( | int | $points_cur | ) |
Set the amount of points the user currently has achieved on this node.
when | amount of points is smaller then zero. |
Definition at line 269 of file class.ilStudyProgrammeProgress.php.
References $points_cur.
Referenced by ilObjStudyProgramme\recalculateProgressStatus().
ilStudyProgrammeProgress::withDeadline | ( | DateTimeImmutable | $deadline = null | ) |
Definition at line 437 of file class.ilStudyProgrammeProgress.php.
References $deadline.
ilStudyProgrammeProgress::withIndividualModifications | ( | bool | $individual | ) |
Definition at line 461 of file class.ilStudyProgrammeProgress.php.
Referenced by ilStudyProgrammeProgressTest\testIndividualPlan().
ilStudyProgrammeProgress::withLastChange | ( | int | $last_change_by, |
DateTimeImmutable | $timestamp | ||
) |
ilException | if new date is earlier than the existing one |
Definition at line 377 of file class.ilStudyProgrammeProgress.php.
References $last_change_by, and getLastChange().
Referenced by ilObjStudyProgramme\resetProgressToSettings().
ilStudyProgrammeProgress::withNodeId | ( | int | $prg_id | ) |
Definition at line 213 of file class.ilStudyProgrammeProgress.php.
References $prg_id.
ilStudyProgrammeProgress::withStatus | ( | int | $status | ) |
Set the status of this node.
when | status is none of ilStudyProgrammeProgress::STATUS_*. |
Definition at line 294 of file class.ilStudyProgrammeProgress.php.
References $status, getId(), getStatus(), and isTransitionAllowedTo().
Referenced by markAccredited(), markFailed(), markNotFailed(), markNotRelevant(), markRelevant(), ilObjStudyProgramme\recalculateProgressStatus(), succeed(), unmarkAccredited(), and ilObjStudyProgramme\updateProgressRelevanceFromSettings().
ilStudyProgrammeProgress::withUserId | ( | int | $usr_id | ) |
Definition at line 228 of file class.ilStudyProgrammeProgress.php.
References $usr_id.
ilStudyProgrammeProgress::withValidityOfQualification | ( | DateTimeImmutable | $date = null | ) |
Definition at line 449 of file class.ilStudyProgrammeProgress.php.
Referenced by ilObjStudyProgramme\resetProgressToSettings().
|
protected |
Definition at line 138 of file class.ilStudyProgrammeProgress.php.
Referenced by getAssignmentDate(), and withAssignmentDate().
|
protected |
Definition at line 68 of file class.ilStudyProgrammeProgress.php.
Referenced by getAssignmentId(), and withAssignmentId().
|
protected |
Definition at line 115 of file class.ilStudyProgrammeProgress.php.
Referenced by getCompletionBy().
|
protected |
Definition at line 145 of file class.ilStudyProgrammeProgress.php.
Referenced by getCompletionDate(), and withCompletion().
|
protected |
Definition at line 152 of file class.ilStudyProgrammeProgress.php.
Referenced by getDeadline(), and withDeadline().
|
protected |
Definition at line 61 of file class.ilStudyProgrammeProgress.php.
Referenced by __construct(), and getId().
|
protected |
Definition at line 166 of file class.ilStudyProgrammeProgress.php.
Referenced by isInvalidated().
|
protected |
Definition at line 171 of file class.ilStudyProgrammeProgress.php.
Referenced by hasIndividualModifications().
|
protected |
Definition at line 124 of file class.ilStudyProgrammeProgress.php.
Referenced by getLastChange().
|
protected |
Definition at line 131 of file class.ilStudyProgrammeProgress.php.
Referenced by getLastChangeBy(), and withLastChange().
|
protected |
Definition at line 91 of file class.ilStudyProgrammeProgress.php.
Referenced by getAmountOfPoints(), and withAmountOfPoints().
|
protected |
Definition at line 98 of file class.ilStudyProgrammeProgress.php.
Referenced by getCurrentAmountOfPoints(), and withCurrentAmountOfPoints().
|
protected |
Definition at line 75 of file class.ilStudyProgrammeProgress.php.
Referenced by getNodeId(), and withNodeId().
|
static |
Definition at line 38 of file class.ilStudyProgrammeProgress.php.
|
protected |
Definition at line 105 of file class.ilStudyProgrammeProgress.php.
Referenced by getStatus(), and withStatus().
|
protected |
Definition at line 82 of file class.ilStudyProgrammeProgress.php.
Referenced by getUserId(), and withUserId().
|
protected |
Definition at line 159 of file class.ilStudyProgrammeProgress.php.
Referenced by getValidityOfQualification().
const ilStudyProgrammeProgress::DATE_FORMAT = 'Y-m-d' |
Definition at line 47 of file class.ilStudyProgrammeProgress.php.
Referenced by ilObjStudyProgramme\applyProgressDeadline(), ilStudyProgrammeProgressDBRepository\buildByRow(), ilStudyProgrammeProgressDBRepository\getRiskyToFail(), ilStudyProgrammeProgressDBRepository\loadExpiredSuccessful(), ilStudyProgrammeProgressDBRepository\loadPassedDeadline(), ilStudyProgrammeProgressDBRepository\loadRiskyToFailInstance(), ilStudyProgrammeProgressRepositoryTest\test_query_ByIds(), ilStudyProgrammeProgressRepositoryTest\test_save_and_load(), ilStudyProgrammeProgressTest\testMarkAccredited(), ilStudyProgrammeProgressTest\testMarkFailed(), ilStudyProgrammeProgressTest\testMarkNotFailed(), ilStudyProgrammeProgressTest\testMarkNotRelevant(), ilStudyProgrammeProgressTest\testMarkRelevant(), ilStudyProgrammeProgressTest\testSucceed(), ilStudyProgrammeProgressTest\testUnmarkAccredited(), and ilStudyProgrammeProgressDBRepository\update().
const ilStudyProgrammeProgress::DATE_FORMAT_ENDOFDAY = 'Y-m-d 23:59:59' |
Definition at line 48 of file class.ilStudyProgrammeProgress.php.
Referenced by ilStudyProgrammeProgressDBRepository\getAboutToExpire().
const ilStudyProgrammeProgress::DATE_TIME_FORMAT = 'Y-m-d H:i:s' |
Definition at line 46 of file class.ilStudyProgrammeProgress.php.
Referenced by ilStudyProgrammeProgressDBRepository\buildByRow(), and ilStudyProgrammeProgressDBRepository\update().
const ilStudyProgrammeProgress::STATUS_ACCREDITED = 3 |
Definition at line 32 of file class.ilStudyProgrammeProgress.php.
Referenced by ilObjStudyProgrammeAccess\checkCondition(), ilStudyProgrammeMembersTableGUI\fetchData(), ilStudyProgrammeDashboardViewGUI\findValid(), ilStudyProgrammeMembersTableGUI\getFilterWhere(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilStudyProgrammeMembersTableGUI\getPossibleActions(), ilStudyProgrammeMembersTableGUI\getStatusOptions(), ilStudyProgrammeProgressDBRepository\loadExpiredSuccessful(), ilStudyProgrammeProgressDBRepository\loadPassedDeadline(), ilStudyProgrammeProgressDBRepository\loadRiskyToFailInstance(), ilStudyProgrammeProgressTest\status(), ilStudyProgrammeMailTemplateContext\statusToRepr(), ilObjStudyProgramme\statusToRepr(), ilStudyProgrammeProgressRepositoryTest\test_query_ByIds(), ilStudyProgrammeProgressRepositoryTest\test_query_past_succsessful_1(), ilStudyProgrammeProgressRepositoryTest\test_query_past_succsessful_2(), ilPrgInvalidateExpiredProgressesCronJobTest\test_run(), ilStudyProgrammeProgressRepositoryTest\test_save_and_load(), ilStudyProgrammeProgressTest\testAllowedTransitionsForAccredited(), ilStudyProgrammeProgressTest\testAllowedTransitionsForInProgress(), ilStudyProgrammeUserProgressTest\testMarkAccredited(), ilStudyProgrammeProgressTest\testMarkAccredited(), ilStudyProgrammeProgressCalculationsTest\testMarkAccreditedOnLPNode(), ilStudyProgrammeProgressCalculationsTest\testMarkAccreditedShouldCompleteParentBySufficientPoints(), ilStudyProgrammeProgressCalculationsTest\testMarkAccreditedShouldNotChangeIrrelevantParent(), ilStudyProgrammeProgressCalculationsTest\testMarkRelevantShouldRecalculateStatusAndPoints(), ilStudyProgrammeUserProgressTest\testPossibleActions(), ilStudyProgrammeProgressCalculationTest\testProgress2(), ilStudyProgrammeProgressCalculationsTest\testTranstitionToProgressWithPastDeadline(), and ilObjStudyProgrammeIndividualPlanGUI\updateStatus().
const ilStudyProgrammeProgress::STATUS_COMPLETED = 2 |
Definition at line 29 of file class.ilStudyProgrammeProgress.php.
Referenced by ilObjStudyProgrammeAccess\checkCondition(), ilStudyProgrammeMembersTableGUI\fetchData(), ilStudyProgrammeDashboardViewGUI\findValid(), ilStudyProgrammeMembersTableGUI\getFilterWhere(), ilStudyProgrammeMembersTableGUI\getStatusOptions(), ilStudyProgrammeProgressDBRepository\loadExpiredSuccessful(), ilStudyProgrammeProgressDBRepository\loadRiskyToFailInstance(), ilObjStudyProgramme\markNotRelevant(), ilObjStudyProgramme\recalculateProgressStatus(), ilStudyProgrammeProgressTest\status(), ilStudyProgrammeMailTemplateContext\statusToRepr(), ilObjStudyProgramme\statusToRepr(), ilStudyProgrammeProgressRepositoryTest\test_query_past_succsessful_1(), ilPrgInvalidateExpiredProgressesCronJobTest\test_run(), ilStudyProgrammeProgressTest\testAllowedTransitionsForAccredited(), ilStudyProgrammeProgressTest\testAllowedTransitionsForCompleted(), ilStudyProgrammeProgressTest\testAllowedTransitionsForFailed(), ilStudyProgrammeProgressTest\testAllowedTransitionsForInProgress(), ilStudyProgrammeProgressCalculationsTest\testChangingValidity(), ilStudyProgrammeProgressCalculationsTest\testDontChangeDeadlineForCompleted(), ilStudyProgrammeProgressCalculationsTest\testDontFailByDeadlineIfSucceeded(), ilStudyProgrammeProgressTest\testHasValidQualification(), ilStudyProgrammeProgressCalculationTest\testInitialProgressOnOptionalNodes(), ilStudyProgrammeUserProgressTest\testMarkAccredited(), ilStudyProgrammeProgressCalculationsTest\testMarkAccreditedOnLPNode(), ilStudyProgrammeProgressCalculationsTest\testMarkAccreditedShouldCompleteParentBySufficientPoints(), ilStudyProgrammeProgressCalculationsTest\testMarkRelevantShouldRecalculateStatusAndPoints(), ilStudyProgrammeProgressCalculationTest\testProgress1(), ilStudyProgrammeProgressCalculationTest\testProgress2(), ilStudyProgrammeProgressCalculationTest\testProgress3(), ilStudyProgrammeProgressCalculationTest\testProgress4(), ilStudyProgrammeProgressTest\testSucceed(), and ilStudyProgrammeProgressCalculationsTest\testSuccessionCompletingParents().
const ilStudyProgrammeProgress::STATUS_FAILED = 5 |
Definition at line 36 of file class.ilStudyProgrammeProgress.php.
Referenced by ilObjStudyProgramme\applyProgressDeadline(), ilStudyProgrammeMembersTableGUI\getStatusOptions(), ilStudyProgrammeProgressTest\status(), ilStudyProgrammeMailTemplateContext\statusToRepr(), ilObjStudyProgramme\statusToRepr(), ilStudyProgrammeProgressRepositoryTest\test_query_past_succsessful_2(), ilStudyProgrammeProgressTest\testAllowedTransitionsForAccredited(), ilStudyProgrammeProgressTest\testAllowedTransitionsForFailed(), ilStudyProgrammeProgressTest\testAllowedTransitionsForInProgress(), ilStudyProgrammeProgressCalculationsTest\testChangingDeadline(), ilStudyProgrammeProgressCalculationsTest\testFailByDeadline(), ilStudyProgrammeProgressCalculationsTest\testInternalTreeIntegrity(), ilStudyProgrammeUserProgressTest\testMarkFailed(), ilStudyProgrammeProgressTest\testMarkFailed(), ilStudyProgrammeUserProgressTest\testMarkNotFailed(), ilStudyProgrammeUserAssignmentTest\testRstartAssignment(), and ilStudyProgrammeProgressCalculationsTest\testTranstitionToProgressWithPastDeadline().
const ilStudyProgrammeProgress::STATUS_IN_PROGRESS = 1 |
Definition at line 27 of file class.ilStudyProgrammeProgress.php.
Referenced by ilObjStudyProgramme\applyProgressDeadline(), ilStudyProgrammeProgressCalculationsTest\buildProgramme(), ilStudyProgrammeProgressDBRepository\createFor(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilStudyProgrammeMembersTableGUI\getPossibleActions(), ilStudyProgrammeIndividualPlanTableGUI\getRequiredPointsInput(), ilStudyProgrammeMembersTableGUI\getStatusOptions(), ilStudyProgrammeDashboardViewGUI\isInProgress(), ilStudyProgrammeProgressDBRepository\loadPassedDeadline(), ilObjStudyProgramme\recalculateProgressStatus(), ilObjStudyProgramme\removeMemberFromProgrammes(), ilPrgUpdateProgressCronJob\run(), ilObjStudyProgramme\setProgressesCompletedIfParentIsProgrammeInLPCompletedMode(), ilStudyProgrammeProgressTest\status(), ilStudyProgrammeMailTemplateContext\statusToRepr(), ilObjStudyProgramme\statusToRepr(), ilStudyProgrammeProgressRepositoryTest\test_create(), ilStudyProgrammeProgressRepositoryTest\test_save_and_load(), ilStudyProgrammeProgressTest\testAllowedTransitionsForAccredited(), ilStudyProgrammeProgressTest\testAllowedTransitionsForCompleted(), ilStudyProgrammeProgressTest\testAllowedTransitionsForFailed(), ilStudyProgrammeProgressTest\testAllowedTransitionsForInProgress(), ilStudyProgrammeProgressTest\testAllowedTransitionsForIrrelevant(), ilStudyProgrammeProgressCalculationsTest\testDontChangeValidityForIncomplete(), ilStudyProgrammeProgressCalculationsTest\testDontFailByFutureDeadline(), ilStudyProgrammeProgressTest\testHasValidQualification(), ilStudyProgrammeUserProgressTest\testInitialProgressActive(), ilStudyProgrammeUserProgressTest\testInitialProgressDraft(), ilStudyProgrammeProgressCalculationTest\testInitialProgressOnOptionalNodes(), ilStudyProgrammeUserProgressTest\testInitialProgressOutdated(), ilStudyProgrammeProgressCalculationsTest\testInternalRunIntegrity(), ilStudyProgrammeProgressCalculationsTest\testInternalTreeIntegrity(), ilStudyProgrammeUserProgressTest\testMarkAccredited(), ilStudyProgrammeProgressCalculationsTest\testMarkAccreditedOnLPNode(), ilStudyProgrammeProgressCalculationsTest\testMarkAccreditedShouldNotChangeIrrelevantParent(), ilStudyProgrammeUserProgressTest\testMarkFailed(), ilStudyProgrammeProgressCalculationsTest\testMarkIrrelevantDoesNotCompleteParent(), ilStudyProgrammeUserProgressTest\testMarkNotFailed(), ilStudyProgrammeProgressTest\testMarkNotFailed(), ilStudyProgrammeUserProgressTest\testMarkNotRelevant(), ilStudyProgrammeProgressTest\testMarkRelevant(), ilStudyProgrammeUserProgressTest\testPossibleActions(), ilStudyProgrammeProgressCalculationTest\testProgress4(), ilStudyProgrammeUserAssignmentTest\testRstartAssignment(), ilStudyProgrammeUserProgressTest\testUnmarkAccredited(), ilStudyProgrammeProgressTest\testUnmarkAccredited(), ilObjStudyProgramme\updateProgressRelevanceFromSettings(), and ilObjStudyProgrammeIndividualPlanGUI\updateStatus().
const ilStudyProgrammeProgress::STATUS_NOT_RELEVANT = 4 |
Definition at line 34 of file class.ilStudyProgrammeProgress.php.
Referenced by ilObjStudyProgramme\addMissingProgresses(), ilObjStudyProgramme\canBeRemoved(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilStudyProgrammeMembersTableGUI\getStatusOptions(), ilStudyProgrammeProgressTest\status(), ilStudyProgrammeMailTemplateContext\statusToRepr(), ilObjStudyProgramme\statusToRepr(), ilStudyProgrammeProgressTest\testAllowedTransitionsForAccredited(), ilStudyProgrammeProgressTest\testAllowedTransitionsForFailed(), ilStudyProgrammeProgressTest\testAllowedTransitionsForInProgress(), ilStudyProgrammeProgressTest\testAllowedTransitionsForIrrelevant(), ilStudyProgrammeUserProgressTest\testInitialProgressDraft(), ilStudyProgrammeUserProgressTest\testInitialProgressOutdated(), ilStudyProgrammeProgressCalculationsTest\testMarkAccreditedShouldNotChangeIrrelevantParent(), ilStudyProgrammeProgressTest\testMarkNotRelevant(), ilStudyProgrammeUserProgressTest\testMarkNotRelevant(), ilStudyProgrammeProgressCalculationsTest\testMarkRelevantShouldRecalculateStatusAndPoints(), ilStudyProgrammeUserProgressTest\testNewNodesAreNotRelevant(), ilStudyProgrammeUserProgressTest\testOutdatedNodesCantBeSetToRelevant(), ilStudyProgrammeUserProgressTest\testPossibleActions(), ilStudyProgrammeProgressCalculationTest\testProgress3(), ilStudyProgrammeProgressCalculationTest\testProgress4(), ilObjStudyProgramme\updateProgressRelevanceFromSettings(), and ilObjStudyProgrammeIndividualPlanGUI\updateStatus().