ILIAS
release_8 Revision v8.19
|
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 |
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 28 of file class.ilExAssignment.php.
ilExAssignment::__construct | ( | $a_id = 0 | ) |
Constructor.
ilExcUnknownAssignmentTypeException |
Definition at line 106 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 1762 of file class.ilExAssignment.php.
References getFeedbackDateCustom().
Referenced by ilExAssignmentGUI\addSubmission().
ilExAssignment::afterDeadline | ( | ) |
Definition at line 1724 of file class.ilExAssignment.php.
References $ilUser, $user, and getPersonalDeadline().
Referenced by afterDeadlineStrict().
ilExAssignment::afterDeadlineStrict | ( | bool | $a_include_personal = true | ) |
Definition at line 1736 of file class.ilExAssignment.php.
References afterDeadline(), and getLastPersonalDeadline().
Referenced by beforeDeadline(), ilObjWikiGUI\getAssignmentButtons(), and ilExerciseSubmissionTableGUI\parseColumns().
ilExAssignment::beforeDeadline | ( | ) |
Definition at line 1773 of file class.ilExAssignment.php.
References afterDeadlineStrict().
ilExAssignment::canParticipantReceiveFeedback | ( | int | $part_id | ) |
Definition at line 2208 of file class.ilExAssignment.php.
References getId(), ilExAssignmentTeam\getTeamId(), and hasTeam().
Referenced by ilExerciseSubmissionTableGUI\parseColumns().
ilExAssignment::clearMultiFeedbackDirectory | ( | ) |
Clear multi feedback directory.
Definition at line 1511 of file class.ilExAssignment.php.
References $ilUser, $user, ilFileUtils\delDir(), getExerciseId(), and getId().
Referenced by saveMultiFeedbackFiles().
|
static |
Clone assignments of exercise.
DirectoryNotFoundException | |
FileNotFoundException | |
IOException | |
ilExcUnknownAssignmentTypeException|ilDateTimeException |
Definition at line 922 of file class.ilExAssignment.php.
References $d, ilExAssignmentTypeInterface\cloneSpecificProperties(), ilFSStorageExercise\create(), ilFileSystemAbstractionStorage\create(), ilExAssignmentReminder\FEEDBACK_REMINDER, ilFileSystemAbstractionStorage\getAbsolutePath(), ilFSStorageExercise\getGlobalFeedbackPath(), ilExAssignmentReminder\GRADE_REMINDER, insertFileOrderNr(), ilFileUtils\rCopy(), ilExAssignmentReminder\setReminderStatus(), and ilExAssignmentReminder\SUBMIT_REMINDER.
Referenced by ilObjExercise\saveData().
|
static |
Definition at line 1170 of file class.ilExAssignment.php.
Referenced by getMultiFeedbackFiles(), and ilObjExerciseGUI\listAssignmentsObject().
|
static |
Definition at line 1154 of file class.ilExAssignment.php.
Referenced by ilObjExerciseGUI\listAssignmentsObject().
|
static |
Definition at line 1327 of file class.ilExAssignment.php.
|
static |
Definition at line 1306 of file class.ilExAssignment.php.
Referenced by ilExerciseMembers\assignMember().
ilExAssignment::delete | ( | ilObjExercise | $exc, |
bool | $update_status = true |
||
) |
ilDateTimeException |
Definition at line 816 of file class.ilExAssignment.php.
References $db, $ilDB, deleteGlobalFeedbackFile(), getExerciseId(), getId(), getPeerReview(), handleCalendarEntries(), and ilObjExercise\updateAllUsersStatus().
ilExAssignment::deleteGlobalFeedbackFile | ( | ) |
Definition at line 1795 of file class.ilExAssignment.php.
References ilFileUtils\delDir(), and getGlobalFeedbackFileStoragePath().
Referenced by delete(), and ilExAssignmentEditorGUI\importFormToAssignment().
ilExAssignment::fileAddOrder | ( | array | $a_entries = array() | ) |
Definition at line 2121 of file class.ilExAssignment.php.
References Vendor\Package\$e, fixInstructionFileOrdering(), and getInstructionFilesOrder().
ilExAssignment::fixInstructionFileOrdering | ( | ) |
Definition at line 2082 of file class.ilExAssignment.php.
References $db, Vendor\Package\$f, ilDBInterface\fetchAssoc(), getFiles(), getId(), ilDBInterface\manipulate(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by fileAddOrder().
|
static |
Definition at line 872 of file class.ilExAssignment.php.
References $data, $DIC, and $ilDB.
Referenced by ilExerciseXMLParser\__construct(), ilObjExercise\delete(), ilExAssignmentTeam\getAdoptableTeamAssignments(), ilObjExerciseGUI\getService(), and ilExerciseXMLWriter\start().
ilExAssignment::getAssignmentType | ( | ) |
Definition at line 391 of file class.ilExAssignment.php.
References $ass_type.
Referenced by ilExSubmission\__construct(), ilExSubmission\downloadAllAssignmentFiles(), and ilExAssignmentEditorGUI\generateTeams().
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 2186 of file class.ilExAssignment.php.
References $type, getDeadlineMode(), getId(), getRelativeDeadline(), and ilExcIndividualDeadline\getStartingTimestamps().
ilExAssignment::getDeadline | ( | ) |
Definition at line 231 of file class.ilExAssignment.php.
References $deadline.
Referenced by getPersonalDeadline(), handleCalendarEntries(), hasActiveIDl(), ilExerciseSubmissionTableGUI\parseColumns(), save(), ilObjExercise\update(), and update().
ilExAssignment::getDeadlineMode | ( | ) |
Definition at line 245 of file class.ilExAssignment.php.
References $deadline_mode.
Referenced by getCalculatedDeadlines(), handleCalendarEntries(), save(), and update().
ilExAssignment::getExerciseId | ( | ) |
Definition at line 211 of file class.ilExAssignment.php.
References $exc_id.
Referenced by ilExAssignmentGUI\addSubmissionFeedback(), clearMultiFeedbackDirectory(), delete(), ilExSubmission\downloadAllAssignmentFiles(), getFiles(), getGlobalFeedbackFileStoragePath(), getMultiFeedbackFiles(), ilExAssTypeWikiTeam\handleNewUpload(), save(), saveMultiFeedbackFiles(), sendMultiFeedbackStructureFile(), ilObjExercise\update(), update(), uploadAssignmentFiles(), and uploadMultiFeedbackFile().
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 1269 of file class.ilExAssignment.php.
References $data, $DIC, $ilDB, and getId().
ilExAssignment::getExtendedDeadline | ( | ) |
Definition at line 314 of file class.ilExAssignment.php.
References $deadline2.
Referenced by recalculateLateSubmissions(), save(), and update().
ilExAssignment::getFeedbackDate | ( | ) |
Definition at line 589 of file class.ilExAssignment.php.
References $feedback_date.
Referenced by ilExAssignmentGUI\addSubmission(), save(), and update().
ilExAssignment::getFeedbackDateCustom | ( | ) |
Definition at line 603 of file class.ilExAssignment.php.
References $feedback_date_custom.
Referenced by afterCustomDate(), save(), and update().
ilExAssignment::getFeedbackFile | ( | ) |
Definition at line 565 of file class.ilExAssignment.php.
References $feedback_file.
Referenced by ilExAssignmentGUI\addSubmission(), ilExAssignmentGUI\addSubmissionFeedback(), getGlobalFeedbackFilePath(), save(), and update().
ilExAssignment::getFiles | ( | ) |
Definition at line 1016 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
Referenced by ilExAssignmentGUI\addFiles(), and fixInstructionFileOrdering().
ilExAssignment::getGlobalFeedbackFilePath | ( | ) |
Definition at line 1814 of file class.ilExAssignment.php.
References $path, getFeedbackFile(), and getGlobalFeedbackFileStoragePath().
ilExAssignment::getGlobalFeedbackFileStoragePath | ( | ) |
Definition at line 1789 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
Referenced by deleteGlobalFeedbackFile(), getGlobalFeedbackFilePath(), and handleGlobalFeedbackFileUpload().
ilExAssignment::getId | ( | ) |
Definition at line 201 of file class.ilExAssignment.php.
References $id.
Referenced by ilExPeerReview\__construct(), ilExSubmission\__construct(), ilExcAssMemberState\__construct(), ilExAssignmentGUI\addFiles(), ilExAssignmentGUI\addInstructions(), ilExAssignmentGUI\addPublicSubmissions(), ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\addSubmission(), ilExAssignmentGUI\addSubmissionFeedback(), canParticipantReceiveFeedback(), clearMultiFeedbackDirectory(), ilExAssTypeWikiTeam\cloneSpecificProperties(), delete(), ilExSubmission\downloadAllAssignmentFiles(), fixInstructionFileOrdering(), ilExAssignmentEditorGUI\generateTeams(), getCalculatedDeadlines(), getExerciseMemberAssignmentData(), getFiles(), ilExAssTypeWikiTeamGUI\getFormValuesArray(), getGlobalFeedbackFileStoragePath(), getMemberListData(), getMemberStatus(), getMultiFeedbackFiles(), ilExAssignmentGUI\getOverviewBody(), ilExAssignmentGUI\getOverviewHeader(), getPersonalDeadline(), handleCalendarEntries(), ilExAssTypeWikiTeam\handleNewUpload(), ilExAssTypeWikiTeamGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), ilExerciseSubmissionTableGUI\parseColumns(), recalculateLateSubmissions(), saveMultiFeedbackFiles(), sendMultiFeedbackStructureFile(), setIndividualDeadline(), ilObjExercise\update(), update(), uploadAssignmentFiles(), and uploadMultiFeedbackFile().
ilExAssignment::getIndividualDeadlines | ( | ) |
Definition at line 1901 of file class.ilExAssignment.php.
References $db, $ilDB, and $res.
Referenced by getMemberListData().
|
static |
int | $a_exc_id |
ilExcUnknownAssignmentTypeException |
Definition at line 135 of file class.ilExAssignment.php.
References $data, $DIC, and $ilDB.
Referenced by ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsManager\__construct(), ilExGradesTableGUI\__construct(), ilCalendarScheduleFilterExercise\addCustomEvents(), ilObjExerciseGUI\addLocatorItems(), ilExerciseMembers\deassignMember(), ilExSubmission\deleteUser(), ilObjExercise\exportGradesExcel(), ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsManager\getAssignmentSelection(), ilExcCriteriaCatalogueTableGUI\getItems(), ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsManager\getNumberOfMandatoryAssignments(), ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsManager\getTotalNumberOfAssignments(), ilExerciseManagementGUI\membersObject(), ilAssignmentsPerParticipantTableGUI\parseData(), ilExerciseManagementCollectFilesJob\run(), and ilObjExercise\update().
ilExAssignment::getInstruction | ( | ) |
Definition at line 324 of file class.ilExAssignment.php.
References $instruction.
Referenced by getInstructionPresentation(), save(), ilObjExercise\update(), and update().
ilExAssignment::getInstructionFilesOrder | ( | ) |
Definition at line 1023 of file class.ilExAssignment.php.
References $data, $db, and $ilDB.
Referenced by fileAddOrder().
ilExAssignment::getInstructionPresentation | ( | ) |
Definition at line 329 of file class.ilExAssignment.php.
References getInstruction().
ilExAssignment::getLastPersonalDeadline | ( | ) |
Definition at line 298 of file class.ilExAssignment.php.
Referenced by afterDeadlineStrict().
ilExAssignment::getMandatory | ( | ) |
Definition at line 358 of file class.ilExAssignment.php.
References $mandatory.
Referenced by save(), and update().
ilExAssignment::getMaxCharLimit | ( | ) |
Definition at line 2173 of file class.ilExAssignment.php.
References $max_char_limit.
Referenced by ilExAssTypeTextGUI\getFormValuesArray(), save(), and update().
ilExAssignment::getMaxFile | ( | ) |
Definition at line 625 of file class.ilExAssignment.php.
References $max_file.
Referenced by save(), and update().
ilExAssignment::getMemberListData | ( | ) |
Definition at line 1202 of file class.ilExAssignment.php.
References $db, $ilDB, $name, ilObject\_exists(), ilObjUser\_lookupName(), getId(), and getIndividualDeadlines().
ilExAssignment::getMemberStatus | ( | ?int | $a_user_id = null | ) |
Definition at line 1824 of file class.ilExAssignment.php.
References $ilUser, $user, and getId().
Referenced by ilExAssignmentGUI\addSubmissionFeedback(), ilExAssignmentGUI\getOverviewHeader(), ilObjExercise\processExerciseStatus(), saveMultiFeedbackFiles(), and ilObjExercise\update().
ilExAssignment::getMinCharLimit | ( | ) |
Definition at line 2162 of file class.ilExAssignment.php.
References $min_char_limit.
Referenced by ilExAssTypeTextGUI\getFormValuesArray(), save(), and update().
ilExAssignment::getMultiFeedbackFiles | ( | int | $a_user_id = 0 | ) |
Get multi feedback files (of uploader)
int | $a_user_id | user id of uploader |
Definition at line 1451 of file class.ilExAssignment.php.
References Vendor\Package\$f, $i, $ilUser, $name, $parts, $user, ilObjUser\_lookupName(), count(), ilFileUtils\getDir(), getExerciseId(), getId(), and ILIAS\Repository\int().
Referenced by saveMultiFeedbackFiles().
ilExAssignment::getOrderNr | ( | ) |
Definition at line 368 of file class.ilExAssignment.php.
References $order_nr.
Referenced by save(), and update().
ilExAssignment::getPeerReview | ( | ) |
Definition at line 416 of file class.ilExAssignment.php.
References $peer.
Referenced by delete(), handleCalendarEntries(), hasReadOnlyIDl(), save(), and update().
ilExAssignment::getPeerReviewChars | ( | ) |
Definition at line 517 of file class.ilExAssignment.php.
References $peer_char.
Referenced by save(), and update().
ilExAssignment::getPeerReviewCriteriaCatalogue | ( | ) |
Definition at line 527 of file class.ilExAssignment.php.
References $crit_cat, $res, ilExcCriteria\getInstanceByType(), and ilExcCriteria\getInstancesByParentId().
Referenced by save(), and update().
ilExAssignment::getPeerReviewDeadline | ( | ) |
Definition at line 449 of file class.ilExAssignment.php.
References $peer_dl.
Referenced by handleCalendarEntries(), save(), and update().
ilExAssignment::getPeerReviewMin | ( | ) |
Definition at line 426 of file class.ilExAssignment.php.
References $peer_min.
Referenced by save(), and update().
ilExAssignment::getPeerReviewSimpleUnlock | ( | ) |
Definition at line 436 of file class.ilExAssignment.php.
References $peer_unlock.
Referenced by save(), and update().
ilExAssignment::getPeerReviewValid | ( | ) |
Definition at line 464 of file class.ilExAssignment.php.
References $peer_valid.
Referenced by save(), and update().
|
static |
Definition at line 1630 of file class.ilExAssignment.php.
References $DIC, $ilDB, and $res.
Referenced by ilExcCronFeedbackNotification\run().
ilExAssignment::getPersonalDeadline | ( | int | $a_user_id | ) |
Definition at line 272 of file class.ilExAssignment.php.
References $db, $ilDB, getDeadline(), getId(), and ilExAssignmentTeam\getTeamId().
Referenced by afterDeadline(), and recalculateLateSubmissions().
ilExAssignment::getPortfolioTemplateId | ( | ) |
Definition at line 636 of file class.ilExAssignment.php.
References $portfolio_template.
Referenced by ilExAssTypePortfolioGUI\getFormValuesArray(), save(), and update().
ilExAssignment::getRelativeDeadline | ( | ) |
Definition at line 255 of file class.ilExAssignment.php.
References $relative_deadline.
Referenced by getCalculatedDeadlines(), hasActiveIDl(), save(), and update().
ilExAssignment::getRelDeadlineLastSubmission | ( | ) |
Definition at line 265 of file class.ilExAssignment.php.
References $rel_deadline_last_subm.
Referenced by save(), and update().
ilExAssignment::getStartTime | ( | ) |
Definition at line 221 of file class.ilExAssignment.php.
References $start_time.
Referenced by save(), and update().
ilExAssignment::getTeamTutor | ( | ) |
Definition at line 614 of file class.ilExAssignment.php.
References $team_tutor.
Referenced by save(), and update().
ilExAssignment::getTitle | ( | ) |
Definition at line 348 of file class.ilExAssignment.php.
References $title.
Referenced by ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExAssignmentGUI\getOverviewHeader(), handleCalendarEntries(), save(), sendMultiFeedbackStructureFile(), ilObjExercise\update(), and update().
ilExAssignment::getType | ( | ) |
Get type this will most probably become an non public function in the future (or become obsolete)
Definition at line 401 of file class.ilExAssignment.php.
References $type.
Referenced by ilExSubmission\downloadAllAssignmentFiles(), save(), and update().
|
protected |
Handle calendar entries for deadline(s)
ilDateTimeException |
Definition at line 1579 of file class.ilExAssignment.php.
References $app, $app_event_handler, DEADLINE_RELATIVE, getDeadline(), getDeadlineMode(), getId(), ilObject\getId(), getPeerReview(), getPeerReviewDeadline(), getTitle(), IL_CAL_UNIX, and ilCalendarEntry\TRANSLATION_SYSTEM.
Referenced by delete(), save(), and update().
ilExAssignment::handleGlobalFeedbackFileUpload | ( | array | $a_file | ) |
ilException |
Definition at line 1803 of file class.ilExAssignment.php.
References $path, ilFileUtils\delDir(), getGlobalFeedbackFileStoragePath(), ilFileUtils\moveUploadedFile(), and setFeedbackFile().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
ilExAssignment::hasActiveIDl | ( | ) |
Definition at line 1920 of file class.ilExAssignment.php.
References getDeadline(), and getRelativeDeadline().
Referenced by ilExerciseSubmissionTableGUI\parseColumns().
ilExAssignment::hasFeedbackCron | ( | ) |
Definition at line 578 of file class.ilExAssignment.php.
References $feedback_cron.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewFileUpload | ( | ) |
Definition at line 494 of file class.ilExAssignment.php.
References $peer_file.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewPersonalized | ( | ) |
Definition at line 504 of file class.ilExAssignment.php.
References $peer_personal.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewRating | ( | ) |
Definition at line 474 of file class.ilExAssignment.php.
References $peer_rating.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewText | ( | ) |
Definition at line 484 of file class.ilExAssignment.php.
References $peer_text.
Referenced by save(), and update().
ilExAssignment::hasReadOnlyIDl | ( | ) |
Definition at line 1925 of file class.ilExAssignment.php.
References getPeerReview().
Referenced by ilExerciseSubmissionTableGUI\parseColumns().
ilExAssignment::hasTeam | ( | ) |
Definition at line 191 of file class.ilExAssignment.php.
Referenced by ilExSubmission\__construct(), canParticipantReceiveFeedback(), ilExSubmission\downloadAllAssignmentFiles(), and ilExerciseSubmissionTableGUI\parseColumns().
|
protected |
Import DB record.
array | $a_set |
ilExcUnknownAssignmentTypeException |
Definition at line 665 of file class.ilExAssignment.php.
References setDeadline(), setDeadlineMode(), setExerciseId(), setExtendedDeadline(), setFeedbackCron(), setFeedbackDate(), setFeedbackDateCustom(), setFeedbackFile(), setId(), setInstruction(), setMandatory(), setMaxCharLimit(), setMaxFile(), setMinCharLimit(), setOrderNr(), setPeerReview(), setPeerReviewChars(), setPeerReviewCriteriaCatalogue(), setPeerReviewDeadline(), setPeerReviewFileUpload(), setPeerReviewMin(), setPeerReviewPersonalized(), setPeerReviewRating(), setPeerReviewSimpleUnlock(), setPeerReviewText(), setPeerReviewValid(), setPortfolioTemplateId(), setRelativeDeadline(), setRelDeadlineLastSubmission(), setStartTime(), setTeamTutor(), setTitle(), and setType().
Referenced by read().
|
static |
Definition at line 1962 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\insert(), and ilDBInterface\nextId().
Referenced by cloneAssignmentsOfExercise().
|
static |
list<string> | $a_file |
Definition at line 2018 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilExAssignmentFileSystemGUI\deleteFile().
|
static |
Definition at line 2061 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\numRows(), ilDBInterface\query(), and ilDBInterface\quote().
|
static |
array | $a_file_data | |
int | $a_ass_id | assignment id |
Definition at line 166 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\setLimit().
|
static |
Definition at line 1982 of file class.ilExAssignment.php.
References $DIC, $filename, ilFileUtils\getSafeFilename(), ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilExerciseDataSet\importRecord(), and ilExAssignmentFileSystemGUI\uploadFile().
|
static |
Definition at line 2135 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), ilDBInterface\queryF(), and ilDBInterface\quote().
|
static |
Definition at line 1185 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 406 of file class.ilExAssignment.php.
Referenced by setType().
|
staticprivate |
Definition at line 1084 of file class.ilExAssignment.php.
|
static |
Definition at line 1057 of file class.ilExAssignment.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjExerciseSubItemListGUI\isAssignmentVisible().
|
static |
Definition at line 1072 of file class.ilExAssignment.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjExerciseGUI\__construct(), and ilExerciseGSToolProvider\getAssignmentInfo().
|
static |
Definition at line 1041 of file class.ilExAssignment.php.
|
static |
Definition at line 1100 of file class.ilExAssignment.php.
Referenced by ilExAssignmentReminder\checkReminders(), ilExAssignmentEditorGUI\confirmAssignmentsDeletionObject(), ilExSubmission\downloadMultipleFiles(), ilObjExerciseSubItemListGUI\getHTML(), ilExerciseManagementGUI\initMultiFeedbackForm(), ilExcMailTemplateSubmitReminderContext\resolveSpecificPlaceholder(), ilExcMailTemplateGradeReminderContext\resolveSpecificPlaceholder(), ilExcMailTemplatePeerReminderContext\resolveSpecificPlaceholder(), ilDownloadSubmissionsBackgroundTask\run(), and ilExerciseMailNotification\send().
|
static |
Definition at line 1105 of file class.ilExAssignment.php.
Referenced by ilParticipantsPerAssignmentTableGUI\__construct(), ilExSubmission\getAllAssignmentFiles(), ilExSubmission\getAssignmentFilesByUsers(), and ilExerciseMailNotification\send().
ilExAssignment::notStartedYet | ( | ) |
Definition at line 1779 of file class.ilExAssignment.php.
|
static |
Definition at line 1132 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\orderAssignmentsByDeadlineObject().
ilExAssignment::read | ( | ) |
ilExcUnknownAssignmentTypeException |
Definition at line 644 of file class.ilExAssignment.php.
References $db, $ilDB, and initFromDB().
Referenced by __construct().
ilExAssignment::recalculateLateSubmissions | ( | ) |
ilDateTimeException |
Definition at line 1840 of file class.ilExAssignment.php.
References $db, $ilDB, ilExSubmission\getAllAssignmentFiles(), getExtendedDeadline(), getId(), getPersonalDeadline(), IL_CAL_DATETIME, and IL_CAL_UNIX.
|
static |
Definition at line 2036 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilExAssignmentFileSystemGUI\renameFile().
ilExAssignment::save | ( | ) |
ilDateTimeException |
Definition at line 705 of file class.ilExAssignment.php.
References $db, $ilDB, getDeadline(), getDeadlineMode(), getExerciseId(), getExtendedDeadline(), getFeedbackDate(), getFeedbackDateCustom(), getFeedbackFile(), getInstruction(), getMandatory(), getMaxCharLimit(), getMaxFile(), getMinCharLimit(), getOrderNr(), getPeerReview(), getPeerReviewChars(), getPeerReviewCriteriaCatalogue(), getPeerReviewDeadline(), getPeerReviewMin(), getPeerReviewSimpleUnlock(), getPeerReviewValid(), getPortfolioTemplateId(), getRelativeDeadline(), getRelDeadlineLastSubmission(), getStartTime(), getTeamTutor(), getTitle(), getType(), handleCalendarEntries(), hasFeedbackCron(), hasPeerReviewFileUpload(), hasPeerReviewPersonalized(), hasPeerReviewRating(), hasPeerReviewText(), setId(), and setOrderNr().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
|
static |
Definition at line 1111 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\saveAssignmentOrderObject().
|
static |
Definition at line 1939 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilExAssignmentFileSystemGUI\saveFilesOrder().
ilExAssignment::saveMultiFeedbackFiles | ( | array | $a_files, |
ilObjExercise | $a_exc | ||
) |
array<int,list<string>> | $a_files |
Definition at line 1523 of file class.ilExAssignment.php.
References Vendor\Package\$f, clearMultiFeedbackDirectory(), getExerciseId(), getId(), ilObject\getId(), getMemberStatus(), getMultiFeedbackFiles(), ilFileUtils\rename(), and ilObjExercise\sendFeedbackFileNotification().
|
static |
ilExcUnknownAssignmentTypeException |
Definition at line 1672 of file class.ilExAssignment.php.
References $DIC, $ilDB, and ilExerciseMembers\_getMembers().
Referenced by ilExAssignmentMemberStatus\postUpdateReturned(), and ilExcCronFeedbackNotification\run().
ilExAssignment::sendMultiFeedbackStructureFile | ( | ilObjExercise | $exercise | ) |
Create member status record for a new assignment for all participants.
Definition at line 1368 of file class.ilExAssignment.php.
References $access, $name, ilObjUser\_lookupName(), ilFileDelivery\deliverFileLegacy(), ilOrgUnitPositionAndRBACAccessHandler\filterUserIdsByRbacOrPositionOfCurrentUser(), ilFileUtils\getASCIIFilename(), getExerciseId(), getId(), ilObject\getRefId(), getTitle(), ilFileUtils\ilTempnam(), ilFileUtils\makeDir(), and ilFileUtils\zip().
ilExAssignment::setDeadline | ( | ?int | $a_val | ) |
Definition at line 226 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setDeadlineMode | ( | int | $a_val | ) |
Set deadline mode.
int | $a_val | deadline mode (self::DEADLINE_ABSOLUTE | self::DEADLINE_ABSOLUTE) |
Definition at line 240 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setExerciseId | ( | int | $a_val | ) |
Definition at line 206 of file class.ilExAssignment.php.
Referenced by initFromDB().
ilExAssignment::setExtendedDeadline | ( | ?int | $a_val | ) |
Definition at line 309 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setFeedbackCron | ( | bool | $a_value | ) |
Toggle (global) feedback file cron.
Definition at line 573 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setFeedbackDate | ( | int | $a_value | ) |
Definition at line 584 of file class.ilExAssignment.php.
Referenced by __construct(), ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setFeedbackDateCustom | ( | int | $a_value | ) |
Set (global) feedback file availability using a custom date.
int | $a_value | timestamp |
Definition at line 598 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setFeedbackFile | ( | ?string | $a_value | ) |
Definition at line 560 of file class.ilExAssignment.php.
Referenced by handleGlobalFeedbackFileUpload(), ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setId | ( | int | $a_val | ) |
Definition at line 196 of file class.ilExAssignment.php.
Referenced by __construct(), initFromDB(), and save().
ilExAssignment::setIndividualDeadline | ( | string | $id, |
ilDateTime | $date | ||
) |
Definition at line 1886 of file class.ilExAssignment.php.
References ilDateTime\get(), getId(), ilExcIndividualDeadline\getInstance(), and IL_CAL_UNIX.
ilExAssignment::setInstruction | ( | string | $a_val | ) |
Definition at line 319 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMandatory | ( | bool | $a_val | ) |
Definition at line 353 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMaxCharLimit | ( | int | $a_val | ) |
Definition at line 2168 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMaxFile | ( | ?int | $a_value | ) |
Definition at line 620 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMinCharLimit | ( | int | $a_val | ) |
Definition at line 2157 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setOrderNr | ( | int | $a_val | ) |
Definition at line 363 of file class.ilExAssignment.php.
Referenced by initFromDB(), and save().
ilExAssignment::setPeerReview | ( | bool | $a_value | ) |
Definition at line 411 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), initFromDB(), and setType().
ilExAssignment::setPeerReviewChars | ( | ?int | $a_value | ) |
Definition at line 509 of file class.ilExAssignment.php.
References ILIAS\Repository\int().
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewCriteriaCatalogue | ( | ?int | $a_value | ) |
Definition at line 522 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewDeadline | ( | int | $a_val | ) |
int | deadline (timestamp) |
Definition at line 444 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewFileUpload | ( | bool | $a_val | ) |
Definition at line 489 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewMin | ( | int | $a_value | ) |
Definition at line 421 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewPersonalized | ( | bool | $a_val | ) |
Definition at line 499 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewRating | ( | bool | $a_val | ) |
Definition at line 469 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewSimpleUnlock | ( | bool | $a_value | ) |
Definition at line 431 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewText | ( | bool | $a_val | ) |
Definition at line 479 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
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 459 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPortfolioTemplateId | ( | int | $a_val | ) |
Definition at line 631 of file class.ilExAssignment.php.
Referenced by ilExAssTypePortfolioGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setRelativeDeadline | ( | int | $a_val | ) |
Definition at line 250 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setRelDeadlineLastSubmission | ( | int | $a_val | ) |
Definition at line 260 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setStartTime | ( | ?int | $a_val | ) |
Definition at line 216 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setTeamTutor | ( | bool | $a_value | ) |
Definition at line 609 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setTitle | ( | string | $a_val | ) |
Definition at line 343 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
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 378 of file class.ilExAssignment.php.
References isValidType(), and setPeerReview().
Referenced by __construct(), and initFromDB().
ilExAssignment::update | ( | ) |
ilDateTimeException |
Definition at line 763 of file class.ilExAssignment.php.
References $db, $ilDB, getDeadline(), getDeadlineMode(), getExerciseId(), getExtendedDeadline(), getFeedbackDate(), getFeedbackDateCustom(), getFeedbackFile(), getId(), getInstruction(), getMandatory(), getMaxCharLimit(), getMaxFile(), getMinCharLimit(), getOrderNr(), getPeerReview(), getPeerReviewChars(), getPeerReviewCriteriaCatalogue(), getPeerReviewDeadline(), getPeerReviewMin(), getPeerReviewSimpleUnlock(), getPeerReviewValid(), getPortfolioTemplateId(), getRelativeDeadline(), getRelDeadlineLastSubmission(), getStartTime(), getTeamTutor(), getTitle(), getType(), handleCalendarEntries(), hasFeedbackCron(), hasPeerReviewFileUpload(), hasPeerReviewPersonalized(), hasPeerReviewRating(), and hasPeerReviewText().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and ilExAssignmentEditorGUI\importPeerReviewFormToAssignment().
ilExAssignment::uploadAssignmentFiles | ( | array | $a_files | ) |
Upload assignment files (from creation form)
Definition at line 1352 of file class.ilExAssignment.php.
References getExerciseId(), getId(), and ilLoggerFactory\getLogger().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
ilExAssignment::uploadMultiFeedbackFile | ( | array | $a_file | ) |
ilException | |
ilExerciseException |
Definition at line 1418 of file class.ilExAssignment.php.
References $ilUser, $lng, $user, ilFileUtils\delDir(), ilFileUtils\getDir(), getExerciseId(), getId(), ilFileUtils\moveUploadedFile(), ilLanguage\txt(), and ilFileUtils\unzip().
|
protected |
Definition at line 61 of file class.ilExAssignment.php.
Referenced by sendMultiFeedbackStructureFile().
|
protected |
Definition at line 60 of file class.ilExAssignment.php.
Referenced by handleCalendarEntries().
|
protected |
Definition at line 94 of file class.ilExAssignment.php.
Referenced by getAssignmentType().
|
protected |
Definition at line 100 of file class.ilExAssignment.php.
Referenced by getPeerReviewCriteriaCatalogue().
|
protected |
Definition at line 57 of file class.ilExAssignment.php.
Referenced by delete(), fixInstructionFileOrdering(), getIndividualDeadlines(), getInstructionFilesOrder(), getLastPersonalDeadline(), getMemberListData(), getPersonalDeadline(), read(), recalculateLateSubmissions(), save(), and update().
|
protected |
Definition at line 67 of file class.ilExAssignment.php.
Referenced by getDeadline().
|
protected |
Definition at line 68 of file class.ilExAssignment.php.
Referenced by getExtendedDeadline().
|
protected |
Definition at line 95 of file class.ilExAssignment.php.
Referenced by getDeadlineMode().
|
protected |
Definition at line 64 of file class.ilExAssignment.php.
Referenced by getExerciseId().
|
protected |
Definition at line 85 of file class.ilExAssignment.php.
Referenced by hasFeedbackCron().
|
protected |
Definition at line 86 of file class.ilExAssignment.php.
Referenced by getFeedbackDate().
|
protected |
Definition at line 87 of file class.ilExAssignment.php.
Referenced by getFeedbackDateCustom().
|
protected |
Definition at line 84 of file class.ilExAssignment.php.
Referenced by getFeedbackFile().
|
protected |
Definition at line 63 of file class.ilExAssignment.php.
Referenced by getId().
|
protected |
Definition at line 69 of file class.ilExAssignment.php.
Referenced by getInstruction().
|
protected |
Definition at line 58 of file class.ilExAssignment.php.
Referenced by uploadMultiFeedbackFile().
|
protected |
Definition at line 99 of file class.ilExAssignment.php.
|
protected |
Definition at line 71 of file class.ilExAssignment.php.
Referenced by getMandatory().
|
protected |
Definition at line 92 of file class.ilExAssignment.php.
Referenced by getMaxCharLimit().
|
protected |
Definition at line 89 of file class.ilExAssignment.php.
Referenced by getMaxFile().
|
protected |
Definition at line 98 of file class.ilExAssignment.php.
|
protected |
Definition at line 91 of file class.ilExAssignment.php.
Referenced by getMinCharLimit().
|
protected |
Definition at line 72 of file class.ilExAssignment.php.
Referenced by getOrderNr().
|
protected |
Definition at line 73 of file class.ilExAssignment.php.
Referenced by getPeerReview().
|
protected |
Definition at line 80 of file class.ilExAssignment.php.
Referenced by getPeerReviewChars().
|
protected |
Definition at line 83 of file class.ilExAssignment.php.
|
protected |
Definition at line 76 of file class.ilExAssignment.php.
Referenced by getPeerReviewDeadline().
|
protected |
Definition at line 78 of file class.ilExAssignment.php.
Referenced by hasPeerReviewFileUpload().
|
protected |
Definition at line 74 of file class.ilExAssignment.php.
Referenced by getPeerReviewMin().
|
protected |
Definition at line 79 of file class.ilExAssignment.php.
Referenced by hasPeerReviewPersonalized().
|
protected |
Definition at line 82 of file class.ilExAssignment.php.
Referenced by hasPeerReviewRating().
|
protected |
Definition at line 81 of file class.ilExAssignment.php.
Referenced by hasPeerReviewText().
|
protected |
Definition at line 75 of file class.ilExAssignment.php.
Referenced by getPeerReviewSimpleUnlock().
|
protected |
Definition at line 77 of file class.ilExAssignment.php.
Referenced by getPeerReviewValid().
|
protected |
Definition at line 90 of file class.ilExAssignment.php.
Referenced by getPortfolioTemplateId().
|
protected |
Definition at line 97 of file class.ilExAssignment.php.
Referenced by getRelDeadlineLastSubmission().
|
protected |
Definition at line 96 of file class.ilExAssignment.php.
Referenced by getRelativeDeadline().
|
protected |
Definition at line 66 of file class.ilExAssignment.php.
Referenced by getStartTime().
|
protected |
Definition at line 55 of file class.ilExAssignment.php.
|
protected |
Definition at line 88 of file class.ilExAssignment.php.
Referenced by getTeamTutor().
|
protected |
Definition at line 70 of file class.ilExAssignment.php.
Referenced by getTitle().
|
protected |
Definition at line 65 of file class.ilExAssignment.php.
Referenced by getCalculatedDeadlines(), and getType().
|
protected |
Definition at line 93 of file class.ilExAssignment.php.
|
protected |
Definition at line 59 of file class.ilExAssignment.php.
Referenced by afterDeadline(), clearMultiFeedbackDirectory(), getMemberStatus(), getMultiFeedbackFiles(), and uploadMultiFeedbackFile().
const ilExAssignment::DEADLINE_ABSOLUTE = 0 |
Definition at line 53 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\fillRow(), ilExcAssMemberState\getCommonDeadline(), ilExcAssMemberState\getOfficialDeadline(), ilExcAssMemberState\hasSubmissionStarted(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::DEADLINE_RELATIVE = 1 |
Definition at line 54 of file class.ilExAssignment.php.
Referenced by ilCalendarScheduleFilterExercise\addCustomEvents(), ilExcAssMemberState\getCalculatedDeadline(), ilExcAssMemberState\getIndividualStart(), ilExcAssMemberState\getLastSubmissionOfRelativeDeadline(), ilExcAssMemberState\getRelativeDeadline(), ilExcAssMemberState\getRelativeDeadlinePresentation(), handleCalendarEntries(), ilCalendarScheduleFilterExercise\modifyEvent(), ilParticipantsPerAssignmentTableGUI\parseModeColumns(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::FEEDBACK_DATE_CUSTOM = 3 |
Definition at line 42 of file class.ilExAssignment.php.
Referenced by ilExAssignmentGUI\addSubmission(), ilExAssignmentEditorGUI\initAssignmentForm(), and ilExcAssMemberState\isGlobalFeedbackFileAccessible().
const ilExAssignment::FEEDBACK_DATE_DEADLINE = 1 |
Definition at line 40 of file class.ilExAssignment.php.
Referenced by ilExAssignmentGUI\addSubmission(), ilExAssignmentEditorGUI\initAssignmentForm(), ilExcAssMemberState\isGlobalFeedbackFileAccessible(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::FEEDBACK_DATE_SUBMISSION = 2 |
Definition at line 41 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initAssignmentForm(), and ilExAssignmentMemberStatus\postUpdateReturned().
const ilExAssignment::PEER_REVIEW_VALID_ALL = 3 |
Definition at line 46 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initPeerReviewForm(), and ilExPeerReview\isFeedbackValidForPassed().
const ilExAssignment::PEER_REVIEW_VALID_NONE = 1 |
Definition at line 44 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), ilExAssignmentEditorGUI\initPeerReviewForm(), ilExPeerReview\isFeedbackValidForPassed(), and ilExPeerReviewGUI\resetPeerReviewObject().
const ilExAssignment::PEER_REVIEW_VALID_ONE = 2 |
Definition at line 45 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initPeerReviewForm(), and ilExPeerReview\isFeedbackValidForPassed().
const ilExAssignment::TEAMS_FORMED_BY_ASSIGNMENT = 3 |
Definition at line 51 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\generateTeams(), ilExAssignmentEditorGUI\initAssignmentForm(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::TEAMS_FORMED_BY_PARTICIPANTS = 0 |
Definition at line 48 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initAssignmentForm().
const ilExAssignment::TEAMS_FORMED_BY_RANDOM = 2 |
Definition at line 50 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\generateTeams(), ilExAssignmentEditorGUI\initAssignmentForm(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::TEAMS_FORMED_BY_TUTOR = 1 |
Definition at line 49 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\generateTeams(), ilExAssignmentEditorGUI\initAssignmentForm(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::TYPE_BLOG = 2 |
Definition at line 34 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\addLink(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExSubmission\downloadAllAssignmentFiles(), ilExSubmission\downloadFiles(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExSubmission\getFiles(), and ilExSubmissionObjectGUI\getOverviewContent().
const ilExAssignment::TYPE_PORTFOLIO = 3 |
Definition at line 35 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\addLink(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExSubmission\downloadAllAssignmentFiles(), ilExSubmission\downloadFiles(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExSubmission\getFiles(), ilExSubmissionObjectGUI\getOverviewContent(), and ilObjPortfolioGUI\linkPortfolioToAssignment().
const ilExAssignment::TYPE_TEXT = 5 |
Definition at line 37 of file class.ilExAssignment.php.
Referenced by ilExerciseSubmissionTableGUI\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExSubmissionTextGUI\executeCommand(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExPeerReviewGUI\getSubmissionContent(), 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 33 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\addLink(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), and ilExerciseMailNotification\send().
const ilExAssignment::TYPE_UPLOAD_TEAM = 4 |
Definition at line 36 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExcAssMemberState\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTeam\getAdoptableTeamAssignments(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExcAssMemberState\getInstanceByIds(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), and ilExerciseManagementGUI\membersObject().
const ilExAssignment::TYPE_WIKI_TEAM = 6 |
Definition at line 38 of file class.ilExAssignment.php.
Referenced by ilExSubmission\downloadFiles(), ilWikiPageGUI\finalizeAssignment(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExSubmission\getFiles(), ilObjWikiListGUI\getProperties(), and ilExerciseDataSet\importRecord().