ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Exercise assignment. More...
Static Public Member Functions | |
static | getInstancesByExercise (int $a_exc_id) |
static | instructionFileGetFileOrderData (array $a_file_data, int $a_ass_id) |
static | getAssignmentDataOfExercise (int $a_exc_id) |
static | cloneAssignmentsOfExercise (int $a_old_exc_id, int $a_new_exc_id, array $a_crit_cat_map) |
Clone assignments of exercise. More... | |
static | lookupMaxOrderNrForEx (int $a_exc_id) |
static | lookupAssignmentOnline (int $a_ass_id) |
static | lookupExerciseId (int $a_ass_id) |
static | lookupTitle (int $a_id) |
static | lookupType (int $a_id) |
static | saveAssOrderOfExercise (int $a_ex_id, array $a_order) |
static | orderAssByDeadline (int $a_ex_id) |
static | countMandatory (int $a_ex_id) |
static | count (int $a_ex_id) |
static | isInExercise (int $a_ass_id, int $a_ex_id) |
static | createNewUserRecords (int $a_user_id, int $a_exc_id) |
static | createNewAssignmentRecords (int $a_ass_id, ilObjExercise $a_exc) |
static | getPendingFeedbackNotifications () |
static | sendFeedbackNotifications (int $a_ass_id, ?int $a_user_id=null) |
static | saveInstructionFilesOrderOfAssignment (int $a_ass_id, array $a_order) |
static | insertFileOrderNr (int $a_ass_id, string $a_filename, int $a_order_nr) |
static | instructionFileInsertOrder (string $a_filename, int $a_ass_id, int $a_order_nr=0) |
static | instructionFileDeleteOrder (int $a_ass_id, array $a_file) |
static | renameInstructionFile (string $a_old_name, string $a_new_name, int $a_ass_id) |
static | instructionFileExistsInDb (string $a_filename, int $a_ass_id) |
static | instructionFileOrderGetMax (int $a_ass_id) |
Data Fields | |
const | TYPE_UPLOAD = 1 |
direct checks against const should be avoided, use type objects instead More... | |
const | TYPE_BLOG = 2 |
const | TYPE_PORTFOLIO = 3 |
const | TYPE_UPLOAD_TEAM = 4 |
const | TYPE_TEXT = 5 |
const | TYPE_WIKI_TEAM = 6 |
const | FEEDBACK_DATE_DEADLINE = 1 |
const | FEEDBACK_DATE_SUBMISSION = 2 |
const | FEEDBACK_DATE_CUSTOM = 3 |
const | PEER_REVIEW_VALID_NONE = 1 |
const | PEER_REVIEW_VALID_ONE = 2 |
const | PEER_REVIEW_VALID_ALL = 3 |
const | TEAMS_FORMED_BY_PARTICIPANTS = 0 |
const | TEAMS_FORMED_BY_TUTOR = 1 |
const | TEAMS_FORMED_BY_RANDOM = 2 |
const | TEAMS_FORMED_BY_ASSIGNMENT = 3 |
const | DEADLINE_ABSOLUTE = 0 |
const | DEADLINE_RELATIVE = 1 |
const | DEADLINE_ABSOLUTE_INDIVIDUAL = 2 |
Protected Member Functions | |
initFromDB (array $a_set) | |
Import DB record. More... | |
handleCalendarEntries (string $a_event, ilObjExercise $exc) | |
Handle calendar entries for deadline(s) More... | |
Static Private Member Functions | |
static | lookup (int $a_id, string $a_field) |
Exercise assignment.
Definition at line 34 of file class.ilExAssignment.php.
ilExAssignment::__construct | ( | $a_id = 0 | ) |
Constructor.
ilExcUnknownAssignmentTypeException |
Definition at line 115 of file class.ilExAssignment.php.
References $DIC, ILIAS\Repository\access(), ilExAssignmentTypes\getInstance(), ilLoggerFactory\getLogger(), ILIAS\Repository\lng(), read(), setFeedbackDate(), setId(), setType(), and ILIAS\Repository\user().
ilExAssignment::afterCustomDate | ( | ) |
Definition at line 1567 of file class.ilExAssignment.php.
ilExAssignment::afterDeadline | ( | ) |
Definition at line 1529 of file class.ilExAssignment.php.
ilExAssignment::afterDeadlineStrict | ( | bool | $a_include_personal = true | ) |
Definition at line 1541 of file class.ilExAssignment.php.
ilExAssignment::beforeDeadline | ( | ) |
Definition at line 1578 of file class.ilExAssignment.php.
ilExAssignment::canParticipantReceiveFeedback | ( | int | $part_id | ) |
Definition at line 1964 of file class.ilExAssignment.php.
References ILIAS\Survey\Mode\getId(), and ilExAssignmentTeam\getTeamId().
|
static |
Clone assignments of exercise.
DirectoryNotFoundException | |
FileNotFoundException | |
IOException | |
ilExcUnknownAssignmentTypeException|ilDateTimeException |
Definition at line 944 of file class.ilExAssignment.php.
|
static |
Definition at line 1182 of file class.ilExAssignment.php.
Referenced by ILIAS\Exercise\Settings\SettingsGUI\getEditForm().
|
static |
Definition at line 1166 of file class.ilExAssignment.php.
Referenced by ILIAS\Exercise\Settings\SettingsGUI\getEditForm().
|
static |
Definition at line 1343 of file class.ilExAssignment.php.
|
static |
Definition at line 1318 of file class.ilExAssignment.php.
Referenced by ilExerciseMembers\assignMember().
ilExAssignment::delete | ( | ilObjExercise | $exc, |
bool | $update_user_status = true |
||
) |
ilDateTimeException |
Definition at line 832 of file class.ilExAssignment.php.
References $ilDB, ilExcIndividualDeadline\deleteForAssignment(), ILIAS\Survey\Mode\getId(), and ilObjExercise\updateAllUsersStatus().
ilExAssignment::fileAddOrder | ( | array | $a_entries = array() | ) |
Definition at line 1877 of file class.ilExAssignment.php.
ilExAssignment::fixInstructionFileOrdering | ( | ) |
Definition at line 1838 of file class.ilExAssignment.php.
References Vendor\Package\$f, ilDBInterface\fetchAssoc(), ILIAS\Survey\Mode\getId(), ilDBInterface\manipulate(), ilDBInterface\query(), and ilDBInterface\quote().
|
static |
Definition at line 894 of file class.ilExAssignment.php.
References $data, $DIC, and $ilDB.
Referenced by ilExerciseXMLParser\__construct(), and ilExerciseXMLWriter\start().
ilExAssignment::getAssignmentType | ( | ) |
Definition at line 404 of file class.ilExAssignment.php.
Referenced by ilExSubmission\__construct().
ilExAssignment::getCalculatedDeadlines | ( | ) |
Get calculated deadlines for user/team members.
These arrays will contain no entries, if team or user has not started the assignment yet.
Definition at line 1942 of file class.ilExAssignment.php.
References ILIAS\Survey\Mode\getId(), and ilExcIndividualDeadline\getStartingTimestamps().
ilExAssignment::getDeadline | ( | ) |
Definition at line 243 of file class.ilExAssignment.php.
ilExAssignment::getDeadlineMode | ( | ) |
Definition at line 257 of file class.ilExAssignment.php.
ilExAssignment::getExerciseId | ( | ) |
Definition at line 223 of file class.ilExAssignment.php.
Referenced by ilFeedbackConfirmationTable2GUI\__construct().
ilExAssignment::getExerciseMemberAssignmentData | ( | int | $a_user_id, |
string | $a_grade = "" |
||
) |
Get submission data for an specific user,exercise and assignment.
todo we can refactor a bit the method getMemberListData to use this and remove duplicate code.
Definition at line 1281 of file class.ilExAssignment.php.
References $ilDB.
ilExAssignment::getExtendedDeadline | ( | ) |
Definition at line 326 of file class.ilExAssignment.php.
ilExAssignment::getFeedbackDate | ( | ) |
Definition at line 602 of file class.ilExAssignment.php.
ilExAssignment::getFeedbackDateCustom | ( | ) |
Definition at line 616 of file class.ilExAssignment.php.
ilExAssignment::getFeedbackFile | ( | ) |
Definition at line 578 of file class.ilExAssignment.php.
ilExAssignment::getFiles | ( | ) |
Definition at line 1026 of file class.ilExAssignment.php.
References ILIAS\Survey\Mode\getId().
ilExAssignment::getId | ( | ) |
Definition at line 213 of file class.ilExAssignment.php.
References $id.
Referenced by ilExPeerReviewGUI\__construct(), ilExcAssMemberState\__construct(), ilExSubmission\__construct(), ilExPeerReview\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExPeerReviewGUI\buildSubmissionPropertiesAndActions(), ilExAssignmentEditorGUI\generateTeams(), ilExAssTypeWikiTeamGUI\getFormValuesArray(), ilExAssTypeWikiTeamGUI\importFormToAssignment(), ilAssignmentsPerParticipantTableGUI\parseData(), and ilObjExerciseGUI\showOverviewObject().
ilExAssignment::getIndividualDeadlines | ( | ) |
Definition at line 1637 of file class.ilExAssignment.php.
Referenced by ilAssignmentsPerParticipantTableGUI\parseData().
|
static |
int | $a_exc_id |
ilExcUnknownAssignmentTypeException |
Definition at line 147 of file class.ilExAssignment.php.
References $data, $DIC, and $ilDB.
Referenced by ilExGradesTableGUI\__construct(), ilCalendarScheduleFilterExercise\addCustomEvents(), ilExerciseMembers\deassignMember(), ILIAS\Exercise\IndividualDeadline\IndividualDeadlineManager\deleteAllOfUserInExercise(), ilObjExercise\exportGradesExcel(), ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsManager\getAssignmentSelection(), ilExcCriteriaCatalogueTableGUI\getItems(), ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsManager\getTotalNumberOfAssignments(), ilExerciseManagementGUI\membersObject(), ilAssignmentsPerParticipantTableGUI\parseData(), and ilObjExerciseGUI\showOverviewObject().
ilExAssignment::getInstruction | ( | ) |
Definition at line 336 of file class.ilExAssignment.php.
ilExAssignment::getInstructionFilesOrder | ( | ) |
Definition at line 1031 of file class.ilExAssignment.php.
ilExAssignment::getInstructionPresentation | ( | ) |
Definition at line 341 of file class.ilExAssignment.php.
ilExAssignment::getLastPersonalDeadline | ( | ) |
Definition at line 310 of file class.ilExAssignment.php.
References $ilDB.
ilExAssignment::getMandatory | ( | ) |
Definition at line 371 of file class.ilExAssignment.php.
ilExAssignment::getMaxCharLimit | ( | ) |
Definition at line 1929 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\getFormValuesArray().
ilExAssignment::getMaxFile | ( | ) |
Definition at line 638 of file class.ilExAssignment.php.
ilExAssignment::getMemberListData | ( | ) |
Definition at line 1214 of file class.ilExAssignment.php.
References $ilDB, $q, $user_id, ilObject\_exists(), ilObjUser\_lookupName(), and ILIAS\Survey\Mode\getId().
ilExAssignment::getMemberStatus | ( | ?int | $a_user_id = null | ) |
Definition at line 1605 of file class.ilExAssignment.php.
References ILIAS\Survey\Mode\getId().
Referenced by ilAssignmentsPerParticipantTableGUI\parseData(), and ilObjExercise\processExerciseStatus().
ilExAssignment::getMinCharLimit | ( | ) |
Definition at line 1918 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\getFormValuesArray().
ilExAssignment::getOrderNr | ( | ) |
Definition at line 381 of file class.ilExAssignment.php.
Referenced by ilAssignmentsPerParticipantTableGUI\parseData().
ilExAssignment::getPeerReview | ( | ) |
Definition at line 429 of file class.ilExAssignment.php.
Referenced by ilExPeerReviewGUI\buildSubmissionPropertiesAndActions(), and ILIAS\Exercise\PeerReview\DomainService\exPeerReview().
ilExAssignment::getPeerReviewChars | ( | ) |
Definition at line 530 of file class.ilExAssignment.php.
ilExAssignment::getPeerReviewCriteriaCatalogue | ( | ) |
Definition at line 540 of file class.ilExAssignment.php.
ilExAssignment::getPeerReviewDeadline | ( | ) |
Definition at line 462 of file class.ilExAssignment.php.
Referenced by ilExPeerReviewGUI\buildSubmissionPropertiesAndActions().
ilExAssignment::getPeerReviewMin | ( | ) |
Definition at line 439 of file class.ilExAssignment.php.
ilExAssignment::getPeerReviewSimpleUnlock | ( | ) |
Definition at line 449 of file class.ilExAssignment.php.
ilExAssignment::getPeerReviewValid | ( | ) |
Definition at line 477 of file class.ilExAssignment.php.
|
static |
Definition at line 1424 of file class.ilExAssignment.php.
References $DIC, $ilDB, $log, $res, and ilLoggerFactory\getLogger().
Referenced by ilExcCronFeedbackNotification\run().
ilExAssignment::getPersonalDeadline | ( | int | $a_user_id | ) |
Definition at line 284 of file class.ilExAssignment.php.
References $ilDB, ILIAS\Survey\Mode\getId(), and ilExAssignmentTeam\getTeamId().
ilExAssignment::getPortfolioTemplateId | ( | ) |
Definition at line 649 of file class.ilExAssignment.php.
Referenced by ilExAssTypePortfolioGUI\getFormValuesArray().
ilExAssignment::getRelativeDeadline | ( | ) |
Definition at line 267 of file class.ilExAssignment.php.
ilExAssignment::getRelDeadlineLastSubmission | ( | ) |
Definition at line 277 of file class.ilExAssignment.php.
ilExAssignment::getRequestedDeadlines | ( | ) |
Definition at line 1656 of file class.ilExAssignment.php.
ilExAssignment::getStartTime | ( | ) |
Definition at line 233 of file class.ilExAssignment.php.
ilExAssignment::getTeamTutor | ( | ) |
Definition at line 627 of file class.ilExAssignment.php.
ilExAssignment::getTitle | ( | ) |
Definition at line 361 of file class.ilExAssignment.php.
Referenced by ilExAssignmentPeerReviewOverviewTableGUI\__construct(), and ilAssignmentsPerParticipantTableGUI\parseData().
ilExAssignment::getType | ( | ) |
Get type this will most probably become an non public function in the future (or become obsolete)
Definition at line 414 of file class.ilExAssignment.php.
|
protected |
Handle calendar entries for deadline(s)
ilDateTimeException |
Definition at line 1373 of file class.ilExAssignment.php.
ilExAssignment::handleGlobalFeedbackFileUpload | ( | int | $ass_id, |
array | $a_file | ||
) |
ilException |
Definition at line 1597 of file class.ilExAssignment.php.
References $ass_id.
ilExAssignment::hasActiveIDl | ( | ) |
Definition at line 1676 of file class.ilExAssignment.php.
ilExAssignment::hasFeedbackCron | ( | ) |
Definition at line 591 of file class.ilExAssignment.php.
ilExAssignment::hasPeerReviewFileUpload | ( | ) |
Definition at line 507 of file class.ilExAssignment.php.
ilExAssignment::hasPeerReviewPersonalized | ( | ) |
Definition at line 517 of file class.ilExAssignment.php.
ilExAssignment::hasPeerReviewRating | ( | ) |
Definition at line 487 of file class.ilExAssignment.php.
ilExAssignment::hasPeerReviewText | ( | ) |
Definition at line 497 of file class.ilExAssignment.php.
ilExAssignment::hasReadOnlyIDl | ( | ) |
Definition at line 1681 of file class.ilExAssignment.php.
ilExAssignment::hasTeam | ( | ) |
Definition at line 203 of file class.ilExAssignment.php.
Referenced by ilExSubmission\__construct(), and ilAssignmentsPerParticipantTableGUI\parseData().
|
protected |
Import DB record.
array | $a_set |
ilExcUnknownAssignmentTypeException |
Definition at line 678 of file class.ilExAssignment.php.
|
static |
Definition at line 1718 of file class.ilExAssignment.php.
|
static |
list<string> | $a_file |
Definition at line 1774 of file class.ilExAssignment.php.
References ilDBInterface\manipulate(), and ilDBInterface\quote().
|
static |
Definition at line 1817 of file class.ilExAssignment.php.
References ilDBInterface\numRows(), ilDBInterface\query(), and ilDBInterface\quote().
|
static |
array | $a_file_data | |
int | $a_ass_id | assignment id |
Definition at line 178 of file class.ilExAssignment.php.
References ILIAS\Repository\int().
|
static |
Definition at line 1738 of file class.ilExAssignment.php.
References $filename, $id, ilFileUtils\getSafeFilename(), ilDBInterface\manipulate(), and ilDBInterface\quote().
|
static |
Definition at line 1891 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), ilDBInterface\queryF(), and ilDBInterface\quote().
|
static |
Definition at line 1197 of file class.ilExAssignment.php.
Referenced by ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsDBRepository\getAssignmentsOfUser(), and ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsDBRepository\saveAssignmentsOfUser().
ilExAssignment::isValidType | ( | int | $a_value | ) |
Definition at line 419 of file class.ilExAssignment.php.
|
staticprivate |
Definition at line 1096 of file class.ilExAssignment.php.
|
static |
Definition at line 1069 of file class.ilExAssignment.php.
|
static |
Definition at line 1084 of file class.ilExAssignment.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjExerciseGUI\__construct(), ilExerciseGSToolProvider\getAssignmentInfo(), and ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackFileManager\sendNotification().
|
static |
Definition at line 1051 of file class.ilExAssignment.php.
|
static |
Definition at line 1112 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\confirmAssignmentsDeletionObject(), ilObjExerciseSubItemListGUI\getHTML(), ilExerciseManagementGUI\getMultiFeedbackForm(), ilExcMailTemplateGradeReminderContext\resolveSpecificPlaceholder(), ilExcMailTemplatePeerReminderContext\resolveSpecificPlaceholder(), ilExcMailTemplateSubmitReminderContext\resolveSpecificPlaceholder(), ilDownloadSubmissionsBackgroundTask\run(), ilExerciseMailNotification\send(), and ilExAssignmentReminder\sendReminders().
|
static |
Definition at line 1117 of file class.ilExAssignment.php.
Referenced by ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackFileManager\__construct(), ilParticipantsPerAssignmentTableGUI\__construct(), and ilExerciseMailNotification\send().
ilExAssignment::notStartedYet | ( | ) |
Definition at line 1584 of file class.ilExAssignment.php.
|
static |
Definition at line 1144 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\orderAssignmentsByDeadlineObject().
ilExAssignment::read | ( | ) |
ilExcUnknownAssignmentTypeException |
Definition at line 657 of file class.ilExAssignment.php.
References $ilDB.
Referenced by __construct().
|
static |
Definition at line 1792 of file class.ilExAssignment.php.
References ilDBInterface\manipulate(), and ilDBInterface\quote().
ilExAssignment::save | ( | ) |
ilDateTimeException |
Definition at line 718 of file class.ilExAssignment.php.
References $ilDB, ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), and ilObjectSearch\raiseContentChanged().
|
static |
Definition at line 1123 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\saveAssignmentOrderObject().
|
static |
Definition at line 1695 of file class.ilExAssignment.php.
|
static |
ilExcUnknownAssignmentTypeException |
Definition at line 1472 of file class.ilExAssignment.php.
Referenced by ilExAssignmentMemberStatus\postUpdateReturned(), and ilExcCronFeedbackNotification\run().
ilExAssignment::setDeadline | ( | ?int | $a_val | ) |
Definition at line 238 of file class.ilExAssignment.php.
ilExAssignment::setDeadlineMode | ( | int | $a_val | ) |
Set deadline mode.
int | $a_val | deadline mode (self::DEADLINE_ABSOLUTE | self::DEADLINE_ABSOLUTE_INDIVIDUAL | self::DEADLINE_RELATIVE) |
Definition at line 252 of file class.ilExAssignment.php.
ilExAssignment::setExerciseId | ( | int | $a_val | ) |
Definition at line 218 of file class.ilExAssignment.php.
ilExAssignment::setExtendedDeadline | ( | ?int | $a_val | ) |
Definition at line 321 of file class.ilExAssignment.php.
ilExAssignment::setFeedbackCron | ( | bool | $a_value | ) |
Toggle (global) feedback file cron.
Definition at line 586 of file class.ilExAssignment.php.
ilExAssignment::setFeedbackDate | ( | int | $a_value | ) |
Definition at line 597 of file class.ilExAssignment.php.
Referenced by __construct().
ilExAssignment::setFeedbackDateCustom | ( | int | $a_value | ) |
Set (global) feedback file availability using a custom date.
int | $a_value | timestamp |
Definition at line 611 of file class.ilExAssignment.php.
ilExAssignment::setFeedbackFile | ( | ?string | $a_value | ) |
Definition at line 573 of file class.ilExAssignment.php.
ilExAssignment::setId | ( | int | $a_val | ) |
Definition at line 208 of file class.ilExAssignment.php.
Referenced by __construct().
ilExAssignment::setIndividualDeadline | ( | string | $id, |
ilDateTime | $date | ||
) |
Definition at line 1622 of file class.ilExAssignment.php.
References $id.
ilExAssignment::setInstruction | ( | string | $a_val | ) |
Definition at line 331 of file class.ilExAssignment.php.
ilExAssignment::setMandatory | ( | bool | $a_val | ) |
Definition at line 366 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
ilExAssignment::setMaxCharLimit | ( | int | $a_val | ) |
Definition at line 1924 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\importFormToAssignment().
ilExAssignment::setMaxFile | ( | ?int | $a_value | ) |
Definition at line 633 of file class.ilExAssignment.php.
ilExAssignment::setMinCharLimit | ( | int | $a_val | ) |
Definition at line 1913 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\importFormToAssignment().
ilExAssignment::setOrderNr | ( | int | $a_val | ) |
Definition at line 376 of file class.ilExAssignment.php.
ilExAssignment::setPeerReview | ( | bool | $a_value | ) |
Definition at line 424 of file class.ilExAssignment.php.
ilExAssignment::setPeerReviewChars | ( | ?int | $a_value | ) |
Definition at line 522 of file class.ilExAssignment.php.
References ILIAS\Repository\int().
ilExAssignment::setPeerReviewCriteriaCatalogue | ( | ?int | $a_value | ) |
Definition at line 535 of file class.ilExAssignment.php.
ilExAssignment::setPeerReviewDeadline | ( | int | $a_val | ) |
int | deadline (timestamp) |
Definition at line 457 of file class.ilExAssignment.php.
ilExAssignment::setPeerReviewFileUpload | ( | bool | $a_val | ) |
Definition at line 502 of file class.ilExAssignment.php.
ilExAssignment::setPeerReviewMin | ( | int | $a_value | ) |
Definition at line 434 of file class.ilExAssignment.php.
ilExAssignment::setPeerReviewPersonalized | ( | bool | $a_val | ) |
Definition at line 512 of file class.ilExAssignment.php.
ilExAssignment::setPeerReviewRating | ( | bool | $a_val | ) |
Definition at line 482 of file class.ilExAssignment.php.
ilExAssignment::setPeerReviewSimpleUnlock | ( | int | $a_value | ) |
Definition at line 444 of file class.ilExAssignment.php.
ilExAssignment::setPeerReviewText | ( | bool | $a_val | ) |
Definition at line 492 of file class.ilExAssignment.php.
ilExAssignment::setPeerReviewValid | ( | int | $a_value | ) |
Set peer review validation.
int | $a_value | (self::PEER_REVIEW_VALID_NONE, self::PEER_REVIEW_VALID_ONE, self::PEER_REVIEW_VALID_ALL) |
Definition at line 472 of file class.ilExAssignment.php.
ilExAssignment::setPortfolioTemplateId | ( | int | $a_val | ) |
Definition at line 644 of file class.ilExAssignment.php.
Referenced by ilExAssTypePortfolioGUI\importFormToAssignment().
ilExAssignment::setRelativeDeadline | ( | int | $a_val | ) |
Definition at line 262 of file class.ilExAssignment.php.
ilExAssignment::setRelDeadlineLastSubmission | ( | int | $a_val | ) |
Definition at line 272 of file class.ilExAssignment.php.
ilExAssignment::setStartTime | ( | ?int | $a_val | ) |
Definition at line 228 of file class.ilExAssignment.php.
ilExAssignment::setTeamTutor | ( | bool | $a_value | ) |
Definition at line 622 of file class.ilExAssignment.php.
ilExAssignment::setTitle | ( | string | $a_val | ) |
Definition at line 356 of file class.ilExAssignment.php.
ilExAssignment::setType | ( | int | $a_value | ) |
Set type this will most probably become an non public function in the future (or become obsolete)
ilExcUnknownAssignmentTypeException |
Definition at line 391 of file class.ilExAssignment.php.
Referenced by __construct().
ilExAssignment::update | ( | ) |
ilDateTimeException |
Definition at line 779 of file class.ilExAssignment.php.
References $ilDB, ILIAS\Survey\Mode\getId(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), and ilObjectSearch\raiseContentChanged().
|
protected |
Definition at line 70 of file class.ilExAssignment.php.
|
protected |
Definition at line 69 of file class.ilExAssignment.php.
|
protected |
Definition at line 103 of file class.ilExAssignment.php.
|
protected |
Definition at line 109 of file class.ilExAssignment.php.
|
protected |
Definition at line 66 of file class.ilExAssignment.php.
|
protected |
Definition at line 76 of file class.ilExAssignment.php.
|
protected |
Definition at line 77 of file class.ilExAssignment.php.
|
protected |
Definition at line 104 of file class.ilExAssignment.php.
|
protected |
Definition at line 63 of file class.ilExAssignment.php.
|
protected |
Definition at line 73 of file class.ilExAssignment.php.
|
protected |
Definition at line 94 of file class.ilExAssignment.php.
|
protected |
Definition at line 95 of file class.ilExAssignment.php.
|
protected |
Definition at line 96 of file class.ilExAssignment.php.
|
protected |
Definition at line 93 of file class.ilExAssignment.php.
|
protected |
Definition at line 62 of file class.ilExAssignment.php.
|
protected |
Definition at line 72 of file class.ilExAssignment.php.
|
protected |
Definition at line 78 of file class.ilExAssignment.php.
|
protected |
Definition at line 67 of file class.ilExAssignment.php.
|
protected |
Definition at line 108 of file class.ilExAssignment.php.
|
protected |
Definition at line 80 of file class.ilExAssignment.php.
|
protected |
Definition at line 101 of file class.ilExAssignment.php.
|
protected |
Definition at line 98 of file class.ilExAssignment.php.
|
protected |
Definition at line 107 of file class.ilExAssignment.php.
|
protected |
Definition at line 100 of file class.ilExAssignment.php.
|
protected |
Definition at line 81 of file class.ilExAssignment.php.
|
protected |
Definition at line 82 of file class.ilExAssignment.php.
|
protected |
Definition at line 89 of file class.ilExAssignment.php.
|
protected |
Definition at line 92 of file class.ilExAssignment.php.
|
protected |
Definition at line 85 of file class.ilExAssignment.php.
|
protected |
Definition at line 87 of file class.ilExAssignment.php.
|
protected |
Definition at line 83 of file class.ilExAssignment.php.
|
protected |
Definition at line 88 of file class.ilExAssignment.php.
|
protected |
Definition at line 91 of file class.ilExAssignment.php.
|
protected |
Definition at line 90 of file class.ilExAssignment.php.
|
protected |
Definition at line 84 of file class.ilExAssignment.php.
|
protected |
Definition at line 86 of file class.ilExAssignment.php.
|
protected |
Definition at line 99 of file class.ilExAssignment.php.
|
protected |
Definition at line 106 of file class.ilExAssignment.php.
|
protected |
Definition at line 105 of file class.ilExAssignment.php.
|
protected |
Definition at line 75 of file class.ilExAssignment.php.
|
protected |
Definition at line 64 of file class.ilExAssignment.php.
|
protected |
Definition at line 97 of file class.ilExAssignment.php.
|
protected |
Definition at line 79 of file class.ilExAssignment.php.
|
protected |
Definition at line 74 of file class.ilExAssignment.php.
|
protected |
Definition at line 102 of file class.ilExAssignment.php.
|
protected |
Definition at line 68 of file class.ilExAssignment.php.
const ilExAssignment::DEADLINE_ABSOLUTE = 0 |
Definition at line 59 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\fillRow(), ilExcAssMemberState\getCommonDeadline(), ilExcAssMemberState\getOfficialDeadline(), ilExcAssMemberState\hasSubmissionStarted(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::DEADLINE_ABSOLUTE_INDIVIDUAL = 2 |
Definition at line 61 of file class.ilExAssignment.php.
Referenced by ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI\buildHead(), ilAssignmentsTableGUI\fillRow(), ilExcAssMemberState\hasSubmissionStarted(), and ilExcAssMemberState\needsIndividualDeadline().
const ilExAssignment::DEADLINE_RELATIVE = 1 |
Definition at line 60 of file class.ilExAssignment.php.
Referenced by ilCalendarScheduleFilterExercise\addCustomEvents(), ilExcAssMemberState\getCalculatedDeadline(), ilExcAssMemberState\getIndividualStart(), ilExcAssMemberState\getLastSubmissionOfRelativeDeadline(), ilExcAssMemberState\getRelativeDeadline(), ilExcAssMemberState\getRelativeDeadlinePresentation(), ilExcAssMemberState\hasSubmissionStarted(), ilCalendarScheduleFilterExercise\modifyEvent(), ilParticipantsPerAssignmentTableGUI\parseModeColumns(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::FEEDBACK_DATE_CUSTOM = 3 |
Definition at line 48 of file class.ilExAssignment.php.
Referenced by ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI\buildSampleSolution(), and ilExcAssMemberState\isGlobalFeedbackFileAccessible().
const ilExAssignment::FEEDBACK_DATE_DEADLINE = 1 |
Definition at line 46 of file class.ilExAssignment.php.
Referenced by ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI\buildSampleSolution(), ilExcAssMemberState\isGlobalFeedbackFileAccessible(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::FEEDBACK_DATE_SUBMISSION = 2 |
Definition at line 47 of file class.ilExAssignment.php.
Referenced by ilExAssignmentMemberStatus\postUpdateReturned().
const ilExAssignment::PEER_REVIEW_VALID_ALL = 3 |
Definition at line 52 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initPeerReviewForm(), and ilExPeerReview\isFeedbackValidForPassed().
const ilExAssignment::PEER_REVIEW_VALID_NONE = 1 |
Definition at line 50 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initPeerReviewForm(), ilExPeerReview\isFeedbackValidForPassed(), and ilExPeerReviewGUI\resetPeerReviewObject().
const ilExAssignment::PEER_REVIEW_VALID_ONE = 2 |
Definition at line 51 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initPeerReviewForm(), and ilExPeerReview\isFeedbackValidForPassed().
const ilExAssignment::TEAMS_FORMED_BY_ASSIGNMENT = 3 |
Definition at line 57 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\generateTeams(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::TEAMS_FORMED_BY_PARTICIPANTS = 0 |
Definition at line 54 of file class.ilExAssignment.php.
const ilExAssignment::TEAMS_FORMED_BY_RANDOM = 2 |
Definition at line 56 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\generateTeams(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::TEAMS_FORMED_BY_TUTOR = 1 |
Definition at line 55 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\processForm().
const ilExAssignment::TYPE_BLOG = 2 |
Definition at line 40 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilExSubmissionObjectGUI\getOverviewContent(), and ILIAS\Exercise\Submission\SubmissionManager\getSubmissionsOfOwners().
const ilExAssignment::TYPE_PORTFOLIO = 3 |
Definition at line 41 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilExSubmissionObjectGUI\getOverviewContent(), ILIAS\Exercise\Submission\SubmissionManager\getSubmissionsOfOwners(), and ilObjPortfolioGUI\linkPortfolioToAssignment().
const ilExAssignment::TYPE_TEXT = 5 |
Definition at line 43 of file class.ilExAssignment.php.
Referenced by ilExerciseSubmissionTableGUI\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExSubmissionTextGUI\executeCommand(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), ilExSubmissionGUI\listPublicSubmissionsObject(), and ilExerciseManagementGUI\membersObject().
const ilExAssignment::TYPE_UPLOAD = 1 |
direct checks against const should be avoided, use type objects instead
Definition at line 39 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), and ilExerciseMailNotification\send().
const ilExAssignment::TYPE_UPLOAD_TEAM = 4 |
Definition at line 42 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExcAssMemberState\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), and ilExerciseManagementGUI\membersObject().
const ilExAssignment::TYPE_WIKI_TEAM = 6 |
Definition at line 44 of file class.ilExAssignment.php.
Referenced by ilWikiPageGUI\finalizeAssignment(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilObjWikiListGUI\getProperties(), and ILIAS\Exercise\Submission\SubmissionManager\getSubmissionsOfOwners().