|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilStudyProgrammeSettings:Data Fields | |
| const | MODE_UNDEFINED = 0 |
| const | MODE_POINTS = 1 |
| const | MODE_LP_COMPLETED = 2 |
| const | STATUS_DRAFT = 10 |
| const | STATUS_ACTIVE = 20 |
| const | STATUS_OUTDATED = 30 |
| const | NO_RESTART = -1 |
| const | NO_VALIDITY_OF_QUALIFICATION_PERIOD = -1 |
| const | NO_DEADLINE = -1 |
| const | DEFAULT_POINTS = 100 |
| const | DEFAULT_SUBTYPE = 0 |
| const | DATE_TIME_FORMAT = 'Y-m-d H:i:s' |
| const | DATE_FORMAT = 'Y-m-d' |
Static Public Attributes | |
| static array | $MODES |
Protected Attributes | |
| int | $obj_id |
| Id of this study program and the corresponding ILIAS-object as well. More... | |
| string | $last_change |
| Timestamp of the moment the last change was made on this object or any object in the subtree of the program. More... | |
| int | $lp_mode |
| Mode the calculation of the learning progress on this node is run in. More... | |
| bool | $access_ctrl_positions |
| Is the access control governed by positions? More... | |
| ilStudyProgrammeTypeSettings | $type_settings |
| ilStudyProgrammeAssessmentSettings | $assessment_settings |
| ilStudyProgrammeDeadlineSettings | $deadline_settings |
| ilStudyProgrammeValidityOfAchievedQualificationSettings | $validity_of_qualification_settings |
| ilStudyProgrammeAutoMailSettings | $automail_settings |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 21 of file class.ilStudyProgrammeSettings.php.
| ilStudyProgrammeSettings::__construct | ( | int | $a_id, |
| ilStudyProgrammeTypeSettings | $type_settings, | ||
| ilStudyProgrammeAssessmentSettings | $assessment_settings, | ||
| ilStudyProgrammeDeadlineSettings | $deadline_settings, | ||
| ilStudyProgrammeValidityOfAchievedQualificationSettings | $validity_of_qualification_settings, | ||
| ilStudyProgrammeAutoMailSettings | $automail_settings | ||
| ) |
Definition at line 94 of file class.ilStudyProgrammeSettings.php.
References $assessment_settings, $automail_settings, $deadline_settings, $type_settings, and $validity_of_qualification_settings.
| ilStudyProgrammeSettings::getAssessmentSettings | ( | ) |
Definition at line 187 of file class.ilStudyProgrammeSettings.php.
References $assessment_settings.
| ilStudyProgrammeSettings::getAutoMailSettings | ( | ) |
Definition at line 233 of file class.ilStudyProgrammeSettings.php.
| ilStudyProgrammeSettings::getDeadlineSettings | ( | ) |
Definition at line 201 of file class.ilStudyProgrammeSettings.php.
| ilStudyProgrammeSettings::getLastChange | ( | ) |
Get the timestamp of the last change on this program or a sub program.
Definition at line 121 of file class.ilStudyProgrammeSettings.php.
| ilStudyProgrammeSettings::getLPMode | ( | ) |
Get the lp mode.
Definition at line 170 of file class.ilStudyProgrammeSettings.php.
References $lp_mode.
| ilStudyProgrammeSettings::getObjId | ( | ) |
Get the id of the study program.
Definition at line 113 of file class.ilStudyProgrammeSettings.php.
References $obj_id.
Referenced by ilStudyProgrammeSettingsDBRepository\update().
Here is the caller graph for this function:| ilStudyProgrammeSettings::getTypeSettings | ( | ) |
Definition at line 175 of file class.ilStudyProgrammeSettings.php.
References $type_settings.
| ilStudyProgrammeSettings::getValidityOfQualificationSettings | ( | ) |
Definition at line 214 of file class.ilStudyProgrammeSettings.php.
| ilStudyProgrammeSettings::setLastChange | ( | DateTime | $a_timestamp | ) |
Set the last change timestamp to the given time.
Throws when given time is smaller than current timestamp since that is logically impossible.
Definition at line 141 of file class.ilStudyProgrammeSettings.php.
Referenced by updateLastChange().
Here is the caller graph for this function:| ilStudyProgrammeSettings::setLPMode | ( | int | $a_mode | ) |
Set the lp mode.
Throws when program is not in draft status.
| integer | $a_mode | - one of self::$MODES |
Definition at line 154 of file class.ilStudyProgrammeSettings.php.
References updateLastChange().
Here is the call graph for this function:| ilStudyProgrammeSettings::updateLastChange | ( | ) |
Update the last change timestamp to the current time.
Definition at line 129 of file class.ilStudyProgrammeSettings.php.
References setLastChange().
Referenced by setLPMode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStudyProgrammeSettings::validationExpires | ( | ) |
Definition at line 227 of file class.ilStudyProgrammeSettings.php.
| ilStudyProgrammeSettings::withAssessmentSettings | ( | ilStudyProgrammeAssessmentSettings | $assessment_settings | ) |
Definition at line 192 of file class.ilStudyProgrammeSettings.php.
| ilStudyProgrammeSettings::withAutoMailSettings | ( | ilStudyProgrammeAutoMailSettings | $automail_settings | ) |
Definition at line 238 of file class.ilStudyProgrammeSettings.php.
| ilStudyProgrammeSettings::withDeadlineSettings | ( | ilStudyProgrammeDeadlineSettings | $deadline_settings | ) |
Definition at line 206 of file class.ilStudyProgrammeSettings.php.
| ilStudyProgrammeSettings::withTypeSettings | ( | ilStudyProgrammeTypeSettings | $type_settings | ) |
Definition at line 180 of file class.ilStudyProgrammeSettings.php.
References $type_settings.
| ilStudyProgrammeSettings::withValidityOfQualificationSettings | ( | ilStudyProgrammeValidityOfAchievedQualificationSettings | $validity_of_qualification_settings | ) |
Definition at line 219 of file class.ilStudyProgrammeSettings.php.
|
protected |
Is the access control governed by positions?
Definition at line 86 of file class.ilStudyProgrammeSettings.php.
|
protected |
Definition at line 89 of file class.ilStudyProgrammeSettings.php.
Referenced by __construct(), and getAssessmentSettings().
|
protected |
Definition at line 92 of file class.ilStudyProgrammeSettings.php.
Referenced by __construct().
|
protected |
Definition at line 90 of file class.ilStudyProgrammeSettings.php.
Referenced by __construct().
|
protected |
Timestamp of the moment the last change was made on this object or any object in the subtree of the program.
Definition at line 76 of file class.ilStudyProgrammeSettings.php.
|
protected |
Mode the calculation of the learning progress on this node is run in.
Definition at line 81 of file class.ilStudyProgrammeSettings.php.
Referenced by getLPMode().
|
static |
Definition at line 36 of file class.ilStudyProgrammeSettings.php.
|
protected |
Id of this study program and the corresponding ILIAS-object as well.
Definition at line 70 of file class.ilStudyProgrammeSettings.php.
Referenced by getObjId().
|
protected |
Definition at line 88 of file class.ilStudyProgrammeSettings.php.
Referenced by __construct(), getTypeSettings(), and withTypeSettings().
|
protected |
Definition at line 91 of file class.ilStudyProgrammeSettings.php.
Referenced by __construct().
| const ilStudyProgrammeSettings::DATE_FORMAT = 'Y-m-d' |
Definition at line 65 of file class.ilStudyProgrammeSettings.php.
| const ilStudyProgrammeSettings::DATE_TIME_FORMAT = 'Y-m-d H:i:s' |
Definition at line 64 of file class.ilStudyProgrammeSettings.php.
Referenced by ilStudyProgrammeSettingsDBRepository\createByRow(), ilStudyProgrammeSettingsDBRepository\createFor(), and ilStudyProgrammeSettingsDBRepository\update().
| const ilStudyProgrammeSettings::DEFAULT_POINTS = 100 |
Definition at line 61 of file class.ilStudyProgrammeSettings.php.
Referenced by ilStudyProgrammeSettingsDBRepository\createByRow(), ilStudyProgrammeSettingsDBRepository\createFor(), ilStudyProgrammeSettingsRepositoryTest\testPRGRepoCreate(), and ilStudyProgrammeSettingsRepositoryTest\testPRGRepoEditAndUpdate().
| const ilStudyProgrammeSettings::DEFAULT_SUBTYPE = 0 |
Definition at line 62 of file class.ilStudyProgrammeSettings.php.
Referenced by ilStudyProgrammeSettingsDBRepository\createByRow(), ilStudyProgrammeSettingsDBRepository\createFor(), ilStudyProgrammeSettingsRepositoryTest\testPRGRepoCreate(), and ilStudyProgrammeSettingsRepositoryTest\testPRGRepoEditAndUpdate().
| const ilStudyProgrammeSettings::MODE_LP_COMPLETED = 2 |
Definition at line 34 of file class.ilStudyProgrammeSettings.php.
Referenced by ilObjStudyProgramme\addNode(), ilObjStudyProgramme\adjustLPMode(), ilObjStudyProgramme\canBeCompleted(), ilObjStudyProgramme\getCreatableSubObjects(), ilObjStudyProgramme\nodeInserted(), ilStudyProgrammeSettingsTest\test_lp_mode(), and ilStudyProgrammeUserTable\toRow().
| const ilStudyProgrammeSettings::MODE_POINTS = 1 |
Definition at line 30 of file class.ilStudyProgrammeSettings.php.
Referenced by ilObjStudyProgramme\adjustLPMode(), ilObjStudyProgramme\getCreatableSubObjects(), ilObjStudyProgramme\nodeInserted(), ilStudyProgrammeAssignmentActionsTest\setUp(), ilStudyProgrammeSettingsTest\test_lp_mode(), ilStudyProgrammeSettingsRepositoryTest\testPRGRepoDelete(), and ilStudyProgrammeSettingsRepositoryTest\testPRGRepoEditAndUpdate().
| const ilStudyProgrammeSettings::MODE_UNDEFINED = 0 |
Definition at line 26 of file class.ilStudyProgrammeSettings.php.
Referenced by ilObjStudyProgramme\adjustLPMode(), ilStudyProgrammeSettingsDBRepository\createFor(), ilObjStudyProgramme\getCreatableSubObjects(), ilStudyProgrammeSettingsTest\test_lp_mode(), ilStudyProgrammeSettingsRepositoryTest\testPRGRepoCreate(), and ilStudyProgrammeSettingsRepositoryTest\testPRGRepoEditAndUpdate().
| const ilStudyProgrammeSettings::NO_DEADLINE = -1 |
Definition at line 58 of file class.ilStudyProgrammeSettings.php.
Referenced by ilStudyProgrammeSettingsDBRepository\createByRow().
| const ilStudyProgrammeSettings::NO_RESTART = -1 |
Definition at line 56 of file class.ilStudyProgrammeSettings.php.
Referenced by ilStudyProgrammeSettingsDBRepository\createByRow(), ilStudyProgrammeSettingsDBRepository\createFor(), ilStudyProgrammeSettingsRepositoryTest\testPRGRepoCreate(), and ilStudyProgrammeSettingsRepositoryTest\testPRGRepoEditAndUpdate().
| const ilStudyProgrammeSettings::NO_VALIDITY_OF_QUALIFICATION_PERIOD = -1 |
Definition at line 57 of file class.ilStudyProgrammeSettings.php.
Referenced by ilStudyProgrammeSettingsDBRepository\createByRow(), ilStudyProgrammeSettingsDBRepository\createFor(), ilStudyProgrammeSettingsTest\test_validity_qualification_period(), ilStudyProgrammeSettingsRepositoryTest\testPRGRepoCreate(), and ilStudyProgrammeSettingsRepositoryTest\testPRGRepoEditAndUpdate().
| const ilStudyProgrammeSettings::STATUS_ACTIVE = 20 |
Definition at line 50 of file class.ilStudyProgrammeSettings.php.
Referenced by ilObjStudyProgramme\assignUser(), ilStudyProgrammeSettingsDBRepository\getProgrammeIdsWithMailsForExpiringValidity(), ilStudyProgrammeSettingsDBRepository\getProgrammeIdsWithReassignmentForExpiringValidity(), ilStudyProgrammeSettingsDBRepository\getProgrammeIdsWithRiskyToFailSettings(), ilStudyProgrammeAssessmentSettings\getStatusOptions(), ilObjStudyProgramme\isActive(), ilObjStudyProgramme\isAutoContentApplicable(), ilStudyProgrammeSettingsTest\test_status(), ilStudyProgrammeSettingsRepositoryTest\testPRGRepoDelete(), and ilStudyProgrammeSettingsRepositoryTest\testPRGRepoEditAndUpdate().
| const ilStudyProgrammeSettings::STATUS_DRAFT = 10 |
Definition at line 47 of file class.ilStudyProgrammeSettings.php.
Referenced by ilStudyProgrammeSettingsDBRepository\createByRow(), ilStudyProgrammeSettingsDBRepository\createFor(), ilStudyProgrammeIndividualPlanTableGUI\fillRow(), ilStudyProgrammeAssessmentSettings\getStatusOptions(), ilObjStudyProgramme\isAutoContentApplicable(), ilStudyProgrammeSettingsTest\test_status(), ilStudyProgrammeSettingsRepositoryTest\testPRGRepoCreate(), and ilStudyProgrammeSettingsRepositoryTest\testPRGRepoEditAndUpdate().
| const ilStudyProgrammeSettings::STATUS_OUTDATED = 30 |