ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
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 114 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 1564 of file class.ilExAssignment.php.
References getFeedbackDateCustom().
ilExAssignment::afterDeadline | ( | ) |
Definition at line 1526 of file class.ilExAssignment.php.
References $user, and getPersonalDeadline().
Referenced by afterDeadlineStrict().
ilExAssignment::afterDeadlineStrict | ( | bool | $a_include_personal = true | ) |
Definition at line 1538 of file class.ilExAssignment.php.
References afterDeadline(), getLastPersonalDeadline(), and null.
Referenced by beforeDeadline(), ilObjWikiGUI\getAssignmentButtons(), and ilExerciseSubmissionTableGUI\parseColumns().
ilExAssignment::beforeDeadline | ( | ) |
Definition at line 1575 of file class.ilExAssignment.php.
References afterDeadlineStrict().
ilExAssignment::canParticipantReceiveFeedback | ( | int | $part_id | ) |
Definition at line 1961 of file class.ilExAssignment.php.
References getId(), ilExAssignmentTeam\getTeamId(), and hasTeam().
Referenced by ilExerciseSubmissionTableGUI\parseColumns().
|
static |
Clone assignments of exercise.
DirectoryNotFoundException | |
FileNotFoundException | |
IOException | |
ilExcUnknownAssignmentTypeException|ilDateTimeException |
Definition at line 941 of file class.ilExAssignment.php.
References Vendor\Package\$d, $DIC, ilExAssignmentTypeInterface\cloneSpecificProperties(), ilExAssignmentReminder\FEEDBACK_REMINDER, ilExAssignmentReminder\GRADE_REMINDER, ilExAssignmentReminder\setReminderStatus(), and ilExAssignmentReminder\SUBMIT_REMINDER.
Referenced by ilObjExercise\saveData().
|
static |
Definition at line 1179 of file class.ilExAssignment.php.
Referenced by ILIAS\Exercise\Settings\SettingsGUI\getEditForm(), ilObjExerciseGUI\listAssignmentsObject(), and sendFeedbackNotifications().
|
static |
Definition at line 1163 of file class.ilExAssignment.php.
Referenced by ILIAS\Exercise\Settings\SettingsGUI\getEditForm(), and ilObjExerciseGUI\listAssignmentsObject().
|
static |
Definition at line 1340 of file class.ilExAssignment.php.
|
static |
Definition at line 1315 of file class.ilExAssignment.php.
Referenced by ilExerciseMembers\assignMember().
ilExAssignment::delete | ( | ilObjExercise | $exc, |
bool | $update_user_status = true |
||
) |
ilDateTimeException |
Definition at line 829 of file class.ilExAssignment.php.
References $db, $ilDB, ilExcIndividualDeadline\deleteForAssignment(), getId(), getPeerReview(), handleCalendarEntries(), and ilObjExercise\updateAllUsersStatus().
ilExAssignment::fileAddOrder | ( | array | $a_entries = array() | ) |
Definition at line 1874 of file class.ilExAssignment.php.
References Vendor\Package\$e, fixInstructionFileOrdering(), and getInstructionFilesOrder().
ilExAssignment::fixInstructionFileOrdering | ( | ) |
Definition at line 1835 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 891 of file class.ilExAssignment.php.
References $data, $DIC, and $ilDB.
Referenced by ilExerciseXMLParser\__construct(), ilExAssignmentTeam\getAdoptableTeamAssignments(), ilObjExerciseGUI\getService(), and ilExerciseXMLWriter\start().
ilExAssignment::getAssignmentType | ( | ) |
Definition at line 401 of file class.ilExAssignment.php.
References $ass_type.
Referenced by ilExSubmission\__construct(), 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 1939 of file class.ilExAssignment.php.
References $type, getDeadlineMode(), getId(), getRelativeDeadline(), and ilExcIndividualDeadline\getStartingTimestamps().
ilExAssignment::getDeadline | ( | ) |
Definition at line 241 of file class.ilExAssignment.php.
References $deadline.
Referenced by getPersonalDeadline(), handleCalendarEntries(), hasActiveIDl(), ilExerciseSubmissionTableGUI\parseColumns(), save(), ilObjExercise\update(), and update().
ilExAssignment::getDeadlineMode | ( | ) |
Definition at line 255 of file class.ilExAssignment.php.
References $deadline_mode.
Referenced by getCalculatedDeadlines(), handleCalendarEntries(), hasActiveIDl(), ilExerciseSubmissionTableGUI\parseColumns(), save(), and update().
ilExAssignment::getExerciseId | ( | ) |
Definition at line 221 of file class.ilExAssignment.php.
References $exc_id.
Referenced by ilFeedbackConfirmationTable2GUI\__construct(), ilExAssTypeWikiTeam\handleNewUpload(), save(), and update().
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 1278 of file class.ilExAssignment.php.
References $data, $DIC, $ilDB, $q, getId(), and null.
ilExAssignment::getExtendedDeadline | ( | ) |
Definition at line 324 of file class.ilExAssignment.php.
References $deadline2.
Referenced by ILIAS\Exercise\Submission\SubmissionManager\recalculateLateSubmissions(), save(), and update().
ilExAssignment::getFeedbackDate | ( | ) |
Definition at line 599 of file class.ilExAssignment.php.
References $feedback_date.
Referenced by save(), and update().
ilExAssignment::getFeedbackDateCustom | ( | ) |
Definition at line 613 of file class.ilExAssignment.php.
References $feedback_date_custom.
Referenced by afterCustomDate(), save(), and update().
ilExAssignment::getFeedbackFile | ( | ) |
Definition at line 575 of file class.ilExAssignment.php.
References $feedback_file.
Referenced by save(), and update().
ilExAssignment::getFiles | ( | ) |
Definition at line 1023 of file class.ilExAssignment.php.
References getId().
Referenced by ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI\buildFiles(), and fixInstructionFileOrdering().
ilExAssignment::getId | ( | ) |
Definition at line 211 of file class.ilExAssignment.php.
References $id.
Referenced by ilExAssignmentListTextTableGUI\__construct(), ilExPeerReview\__construct(), ilExPeerReviewGUI\__construct(), ilExSubmission\__construct(), ilExcAssMemberState\__construct(), ilExPeerReviewGUI\buildSubmissionPropertiesAndActions(), canParticipantReceiveFeedback(), ilExAssTypeWikiTeam\cloneSpecificProperties(), delete(), fixInstructionFileOrdering(), ilExAssignmentEditorGUI\generateTeams(), getCalculatedDeadlines(), getExerciseMemberAssignmentData(), getFiles(), ilExAssTypeWikiTeamGUI\getFormValuesArray(), getMemberListData(), getMemberStatus(), ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackZipManager\getMultiFeedbackStructureFile(), getPersonalDeadline(), handleCalendarEntries(), ilExAssTypeWikiTeam\handleNewUpload(), ilExAssTypeWikiTeamGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), ilExerciseSubmissionTableGUI\parseColumns(), setIndividualDeadline(), ilObjExerciseGUI\showOverviewObject(), ilObjExercise\update(), and update().
ilExAssignment::getIndividualDeadlines | ( | ) |
Definition at line 1634 of file class.ilExAssignment.php.
References $db, $ilDB, and $res.
Referenced by getMemberListData().
|
static |
int | $a_exc_id |
ilExcUnknownAssignmentTypeException |
Definition at line 145 of file class.ilExAssignment.php.
References $data, $DIC, and $ilDB.
Referenced by ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsManager\__construct(), ilExGradesTableGUI\__construct(), ilCalendarScheduleFilterExercise\addCustomEvents(), ilExerciseMembers\deassignMember(), ILIAS\Exercise\IndividualDeadline\IndividualDeadlineManager\deleteAllOfUserInExercise(), 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(), ilObjExerciseGUI\showOverviewObject(), and ilObjExercise\update().
ilExAssignment::getInstruction | ( | ) |
Definition at line 334 of file class.ilExAssignment.php.
References $instruction.
Referenced by getInstructionPresentation(), save(), ilObjExercise\update(), and update().
ilExAssignment::getInstructionFilesOrder | ( | ) |
Definition at line 1028 of file class.ilExAssignment.php.
References $data, $db, and $ilDB.
Referenced by fileAddOrder().
ilExAssignment::getInstructionPresentation | ( | ) |
Definition at line 339 of file class.ilExAssignment.php.
References getInstruction().
ilExAssignment::getLastPersonalDeadline | ( | ) |
Definition at line 308 of file class.ilExAssignment.php.
Referenced by afterDeadlineStrict().
ilExAssignment::getMandatory | ( | ) |
Definition at line 368 of file class.ilExAssignment.php.
References $mandatory.
Referenced by save(), and update().
ilExAssignment::getMaxCharLimit | ( | ) |
Definition at line 1926 of file class.ilExAssignment.php.
References $max_char_limit.
Referenced by ilExAssTypeTextGUI\getFormValuesArray(), save(), and update().
ilExAssignment::getMaxFile | ( | ) |
Definition at line 635 of file class.ilExAssignment.php.
References $max_file.
Referenced by save(), and update().
ilExAssignment::getMemberListData | ( | ) |
Definition at line 1211 of file class.ilExAssignment.php.
References $db, $ilDB, $q, $user_id, ilObject\_exists(), ilObjUser\_lookupName(), getId(), and getIndividualDeadlines().
ilExAssignment::getMemberStatus | ( | ?int | $a_user_id = null | ) |
Definition at line 1602 of file class.ilExAssignment.php.
References $user, getId(), and ilObject\getId().
Referenced by ilObjExercise\processExerciseStatus(), and ilObjExercise\update().
ilExAssignment::getMinCharLimit | ( | ) |
Definition at line 1915 of file class.ilExAssignment.php.
References $min_char_limit.
Referenced by ilExAssTypeTextGUI\getFormValuesArray(), save(), and update().
ilExAssignment::getOrderNr | ( | ) |
Definition at line 378 of file class.ilExAssignment.php.
References $order_nr.
Referenced by save(), and update().
ilExAssignment::getPeerReview | ( | ) |
Definition at line 426 of file class.ilExAssignment.php.
References $peer.
Referenced by ilExPeerReviewGUI\buildSubmissionPropertiesAndActions(), delete(), ILIAS\Exercise\PeerReview\DomainService\exPeerReview(), handleCalendarEntries(), hasReadOnlyIDl(), save(), and update().
ilExAssignment::getPeerReviewChars | ( | ) |
Definition at line 527 of file class.ilExAssignment.php.
References $peer_char.
Referenced by save(), and update().
ilExAssignment::getPeerReviewCriteriaCatalogue | ( | ) |
Definition at line 537 of file class.ilExAssignment.php.
References $crit_cat, $res, ilExcCriteria\getInstanceByType(), and ilExcCriteria\getInstancesByParentId().
Referenced by save(), and update().
ilExAssignment::getPeerReviewDeadline | ( | ) |
Definition at line 459 of file class.ilExAssignment.php.
References $peer_dl.
Referenced by ilExPeerReviewGUI\buildSubmissionPropertiesAndActions(), handleCalendarEntries(), save(), and update().
ilExAssignment::getPeerReviewMin | ( | ) |
Definition at line 436 of file class.ilExAssignment.php.
References $peer_min.
Referenced by save(), and update().
ilExAssignment::getPeerReviewSimpleUnlock | ( | ) |
Definition at line 446 of file class.ilExAssignment.php.
References $peer_unlock.
Referenced by save(), and update().
ilExAssignment::getPeerReviewValid | ( | ) |
Definition at line 474 of file class.ilExAssignment.php.
References $peer_valid.
Referenced by save(), and update().
|
static |
Definition at line 1421 of file class.ilExAssignment.php.
References $DIC, $ilDB, $res, ilLogger\debug(), and ilLoggerFactory\getLogger().
Referenced by ilExcCronFeedbackNotification\run().
ilExAssignment::getPersonalDeadline | ( | int | $a_user_id | ) |
Definition at line 282 of file class.ilExAssignment.php.
References $db, $ilDB, getDeadline(), getId(), and ilExAssignmentTeam\getTeamId().
Referenced by afterDeadline().
ilExAssignment::getPortfolioTemplateId | ( | ) |
Definition at line 646 of file class.ilExAssignment.php.
References $portfolio_template.
Referenced by ilExAssTypePortfolioGUI\getFormValuesArray(), save(), and update().
ilExAssignment::getRelativeDeadline | ( | ) |
Definition at line 265 of file class.ilExAssignment.php.
References $relative_deadline.
Referenced by getCalculatedDeadlines(), save(), and update().
ilExAssignment::getRelDeadlineLastSubmission | ( | ) |
Definition at line 275 of file class.ilExAssignment.php.
References $rel_deadline_last_subm.
Referenced by save(), and update().
ilExAssignment::getRequestedDeadlines | ( | ) |
ilExAssignment::getStartTime | ( | ) |
Definition at line 231 of file class.ilExAssignment.php.
References $start_time.
Referenced by save(), and update().
ilExAssignment::getTeamTutor | ( | ) |
Definition at line 624 of file class.ilExAssignment.php.
References $team_tutor.
Referenced by save(), and update().
ilExAssignment::getTitle | ( | ) |
Definition at line 358 of file class.ilExAssignment.php.
References $title.
Referenced by ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackZipManager\getMultiFeedbackStructureFile(), handleCalendarEntries(), save(), 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 411 of file class.ilExAssignment.php.
References $type.
Referenced by ilExerciseSubmissionTableGUI\parseColumns(), save(), and update().
|
protected |
Handle calendar entries for deadline(s)
ilDateTimeException |
Definition at line 1370 of file class.ilExAssignment.php.
References $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 | ( | int | $ass_id, |
array | $a_file | ||
) |
ilException |
Definition at line 1594 of file class.ilExAssignment.php.
References setFeedbackFile().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
ilExAssignment::hasActiveIDl | ( | ) |
Definition at line 1673 of file class.ilExAssignment.php.
References getDeadline(), and getDeadlineMode().
Referenced by ilExerciseSubmissionTableGUI\parseColumns().
ilExAssignment::hasFeedbackCron | ( | ) |
Definition at line 588 of file class.ilExAssignment.php.
References $feedback_cron.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewFileUpload | ( | ) |
Definition at line 504 of file class.ilExAssignment.php.
References $peer_file.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewPersonalized | ( | ) |
Definition at line 514 of file class.ilExAssignment.php.
References $peer_personal.
Referenced by ilExPeerReviewGUI\getPeerReviewReceiverPanel(), save(), and update().
ilExAssignment::hasPeerReviewRating | ( | ) |
Definition at line 484 of file class.ilExAssignment.php.
References $peer_rating.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewText | ( | ) |
Definition at line 494 of file class.ilExAssignment.php.
References $peer_text.
Referenced by save(), and update().
ilExAssignment::hasReadOnlyIDl | ( | ) |
Definition at line 1678 of file class.ilExAssignment.php.
References getPeerReview().
Referenced by ilExerciseSubmissionTableGUI\parseColumns().
ilExAssignment::hasTeam | ( | ) |
Definition at line 201 of file class.ilExAssignment.php.
Referenced by ilExSubmission\__construct(), canParticipantReceiveFeedback(), and ilExerciseSubmissionTableGUI\parseColumns().
|
protected |
Import DB record.
array | $a_set |
ilExcUnknownAssignmentTypeException |
Definition at line 675 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 1715 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\insert(), and ilDBInterface\nextId().
|
static |
list<string> | $a_file |
Definition at line 1771 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\manipulate(), and ilDBInterface\quote().
|
static |
Definition at line 1814 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 176 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\setLimit().
|
static |
Definition at line 1735 of file class.ilExAssignment.php.
References $DIC, $filename, ilFileUtils\getSafeFilename(), ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilExerciseDataSet\importRecord().
|
static |
Definition at line 1888 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), ilDBInterface\queryF(), and ilDBInterface\quote().
|
static |
Definition at line 1194 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 416 of file class.ilExAssignment.php.
Referenced by setType().
|
staticprivate |
Definition at line 1093 of file class.ilExAssignment.php.
|
static |
Definition at line 1066 of file class.ilExAssignment.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjExerciseSubItemListGUI\isAssignmentVisible().
|
static |
Definition at line 1081 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 1048 of file class.ilExAssignment.php.
|
static |
Definition at line 1109 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\confirmAssignmentsDeletionObject(), ILIAS\Exercise\Submission\SubmissionManager\getDirectoryNameFromUserData(), ilObjExerciseSubItemListGUI\getHTML(), ilExerciseManagementGUI\getMultiFeedbackForm(), ilExcMailTemplateSubmitReminderContext\resolveSpecificPlaceholder(), ilExcMailTemplateGradeReminderContext\resolveSpecificPlaceholder(), ilExcMailTemplatePeerReminderContext\resolveSpecificPlaceholder(), ilDownloadSubmissionsBackgroundTask\run(), ilExerciseMailNotification\send(), ilExerciseMailNotification\sendExerciseNotification(), and ilExAssignmentReminder\sendReminders().
|
static |
Definition at line 1114 of file class.ilExAssignment.php.
Referenced by ilParticipantsPerAssignmentTableGUI\__construct(), ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackFileManager\__construct(), and ilExerciseMailNotification\send().
ilExAssignment::notStartedYet | ( | ) |
Definition at line 1581 of file class.ilExAssignment.php.
|
static |
Definition at line 1141 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\orderAssignmentsByDeadlineObject().
ilExAssignment::read | ( | ) |
ilExcUnknownAssignmentTypeException |
Definition at line 654 of file class.ilExAssignment.php.
References $db, $ilDB, and initFromDB().
Referenced by __construct().
|
static |
Definition at line 1789 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\manipulate(), and ilDBInterface\quote().
ilExAssignment::save | ( | ) |
ilDateTimeException |
Definition at line 715 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(), ilObjectSearch\raiseContentChanged(), setId(), and setOrderNr().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
|
static |
Definition at line 1120 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\saveAssignmentOrderObject().
|
static |
Definition at line 1692 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\manipulate(), and ilDBInterface\quote().
|
static |
ilExcUnknownAssignmentTypeException |
Definition at line 1469 of file class.ilExAssignment.php.
References $DIC, $ilDB, ilExerciseMembers\_getMembers(), count(), ilLogger\debug(), and ilLoggerFactory\getLogger().
Referenced by ilExAssignmentMemberStatus\postUpdateReturned(), and ilExcCronFeedbackNotification\run().
ilExAssignment::setDeadline | ( | ?int | $a_val | ) |
Definition at line 236 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_INDIVIDUAL | self::DEADLINE_RELATIVE) |
Definition at line 250 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setExerciseId | ( | int | $a_val | ) |
Definition at line 216 of file class.ilExAssignment.php.
Referenced by initFromDB().
ilExAssignment::setExtendedDeadline | ( | ?int | $a_val | ) |
Definition at line 319 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setFeedbackCron | ( | bool | $a_value | ) |
Toggle (global) feedback file cron.
Definition at line 583 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setFeedbackDate | ( | int | $a_value | ) |
Definition at line 594 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 608 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setFeedbackFile | ( | ?string | $a_value | ) |
Definition at line 570 of file class.ilExAssignment.php.
Referenced by handleGlobalFeedbackFileUpload(), ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setId | ( | int | $a_val | ) |
Definition at line 206 of file class.ilExAssignment.php.
Referenced by __construct(), initFromDB(), and save().
ilExAssignment::setIndividualDeadline | ( | string | $id, |
ilDateTime | $date | ||
) |
Definition at line 1619 of file class.ilExAssignment.php.
References ilDateTime\get(), getId(), ilExcIndividualDeadline\getInstance(), and IL_CAL_UNIX.
ilExAssignment::setInstruction | ( | string | $a_val | ) |
Definition at line 329 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMandatory | ( | bool | $a_val | ) |
Definition at line 363 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMaxCharLimit | ( | int | $a_val | ) |
Definition at line 1921 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMaxFile | ( | ?int | $a_value | ) |
Definition at line 630 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMinCharLimit | ( | int | $a_val | ) |
Definition at line 1910 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setOrderNr | ( | int | $a_val | ) |
Definition at line 373 of file class.ilExAssignment.php.
Referenced by initFromDB(), and save().
ilExAssignment::setPeerReview | ( | bool | $a_value | ) |
Definition at line 421 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), initFromDB(), and setType().
ilExAssignment::setPeerReviewChars | ( | ?int | $a_value | ) |
Definition at line 519 of file class.ilExAssignment.php.
References ILIAS\Repository\int(), and null.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewCriteriaCatalogue | ( | ?int | $a_value | ) |
Definition at line 532 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewDeadline | ( | int | $a_val | ) |
int | deadline (timestamp) |
Definition at line 454 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewFileUpload | ( | bool | $a_val | ) |
Definition at line 499 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewMin | ( | int | $a_value | ) |
Definition at line 431 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewPersonalized | ( | bool | $a_val | ) |
Definition at line 509 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewRating | ( | bool | $a_val | ) |
Definition at line 479 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewSimpleUnlock | ( | int | $a_value | ) |
Definition at line 441 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewText | ( | bool | $a_val | ) |
Definition at line 489 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 469 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPortfolioTemplateId | ( | int | $a_val | ) |
Definition at line 641 of file class.ilExAssignment.php.
Referenced by ilExAssTypePortfolioGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setRelativeDeadline | ( | int | $a_val | ) |
Definition at line 260 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setRelDeadlineLastSubmission | ( | int | $a_val | ) |
Definition at line 270 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setStartTime | ( | ?int | $a_val | ) |
Definition at line 226 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setTeamTutor | ( | bool | $a_value | ) |
Definition at line 619 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setTitle | ( | string | $a_val | ) |
Definition at line 353 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 388 of file class.ilExAssignment.php.
References isValidType(), and setPeerReview().
Referenced by __construct(), and initFromDB().
ilExAssignment::update | ( | ) |
ilDateTimeException |
Definition at line 776 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(), hasPeerReviewText(), and ilObjectSearch\raiseContentChanged().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and ilExAssignmentEditorGUI\importPeerReviewFormToAssignment().
|
protected |
Definition at line 69 of file class.ilExAssignment.php.
|
protected |
Definition at line 68 of file class.ilExAssignment.php.
Referenced by handleCalendarEntries().
|
protected |
Definition at line 102 of file class.ilExAssignment.php.
Referenced by getAssignmentType().
|
protected |
Definition at line 108 of file class.ilExAssignment.php.
Referenced by getPeerReviewCriteriaCatalogue().
|
protected |
Definition at line 65 of file class.ilExAssignment.php.
Referenced by delete(), fixInstructionFileOrdering(), getIndividualDeadlines(), getInstructionFilesOrder(), getLastPersonalDeadline(), getMemberListData(), getPersonalDeadline(), getRequestedDeadlines(), read(), save(), and update().
|
protected |
Definition at line 75 of file class.ilExAssignment.php.
Referenced by getDeadline().
|
protected |
Definition at line 76 of file class.ilExAssignment.php.
Referenced by getExtendedDeadline().
|
protected |
Definition at line 103 of file class.ilExAssignment.php.
Referenced by getDeadlineMode().
|
protected |
Definition at line 62 of file class.ilExAssignment.php.
|
protected |
Definition at line 72 of file class.ilExAssignment.php.
Referenced by getExerciseId().
|
protected |
Definition at line 93 of file class.ilExAssignment.php.
Referenced by hasFeedbackCron().
|
protected |
Definition at line 94 of file class.ilExAssignment.php.
Referenced by getFeedbackDate().
|
protected |
Definition at line 95 of file class.ilExAssignment.php.
Referenced by getFeedbackDateCustom().
|
protected |
Definition at line 92 of file class.ilExAssignment.php.
Referenced by getFeedbackFile().
|
protected |
Definition at line 71 of file class.ilExAssignment.php.
Referenced by getId().
|
protected |
Definition at line 77 of file class.ilExAssignment.php.
Referenced by getInstruction().
|
protected |
Definition at line 66 of file class.ilExAssignment.php.
|
protected |
Definition at line 107 of file class.ilExAssignment.php.
|
protected |
Definition at line 79 of file class.ilExAssignment.php.
Referenced by getMandatory().
|
protected |
Definition at line 100 of file class.ilExAssignment.php.
Referenced by getMaxCharLimit().
|
protected |
Definition at line 97 of file class.ilExAssignment.php.
Referenced by getMaxFile().
|
protected |
Definition at line 106 of file class.ilExAssignment.php.
|
protected |
Definition at line 99 of file class.ilExAssignment.php.
Referenced by getMinCharLimit().
|
protected |
Definition at line 80 of file class.ilExAssignment.php.
Referenced by getOrderNr().
|
protected |
Definition at line 81 of file class.ilExAssignment.php.
Referenced by getPeerReview().
|
protected |
Definition at line 88 of file class.ilExAssignment.php.
Referenced by getPeerReviewChars().
|
protected |
Definition at line 91 of file class.ilExAssignment.php.
|
protected |
Definition at line 84 of file class.ilExAssignment.php.
Referenced by getPeerReviewDeadline().
|
protected |
Definition at line 86 of file class.ilExAssignment.php.
Referenced by hasPeerReviewFileUpload().
|
protected |
Definition at line 82 of file class.ilExAssignment.php.
Referenced by getPeerReviewMin().
|
protected |
Definition at line 87 of file class.ilExAssignment.php.
Referenced by hasPeerReviewPersonalized().
|
protected |
Definition at line 90 of file class.ilExAssignment.php.
Referenced by hasPeerReviewRating().
|
protected |
Definition at line 89 of file class.ilExAssignment.php.
Referenced by hasPeerReviewText().
|
protected |
Definition at line 83 of file class.ilExAssignment.php.
Referenced by getPeerReviewSimpleUnlock().
|
protected |
Definition at line 85 of file class.ilExAssignment.php.
Referenced by getPeerReviewValid().
|
protected |
Definition at line 98 of file class.ilExAssignment.php.
Referenced by getPortfolioTemplateId().
|
protected |
Definition at line 105 of file class.ilExAssignment.php.
Referenced by getRelDeadlineLastSubmission().
|
protected |
Definition at line 104 of file class.ilExAssignment.php.
Referenced by getRelativeDeadline().
|
protected |
Definition at line 74 of file class.ilExAssignment.php.
Referenced by getStartTime().
|
protected |
Definition at line 63 of file class.ilExAssignment.php.
|
protected |
Definition at line 96 of file class.ilExAssignment.php.
Referenced by getTeamTutor().
|
protected |
Definition at line 78 of file class.ilExAssignment.php.
Referenced by getTitle().
|
protected |
Definition at line 73 of file class.ilExAssignment.php.
Referenced by getCalculatedDeadlines(), and getType().
|
protected |
Definition at line 101 of file class.ilExAssignment.php.
|
protected |
Definition at line 67 of file class.ilExAssignment.php.
Referenced by afterDeadline(), and getMemberStatus().
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(), ilExcAssMemberState\needsIndividualDeadline(), and ilExerciseSubmissionTableGUI\parseColumns().
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(), handleCalendarEntries(), 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(), ilExAssignmentEditorGUI\initAssignmentForm(), and ilExcAssMemberState\isGlobalFeedbackFileAccessible().
const ilExAssignment::FEEDBACK_DATE_DEADLINE = 1 |
const ilExAssignment::FEEDBACK_DATE_SUBMISSION = 2 |
Definition at line 47 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initAssignmentForm(), and 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\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), 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(), ilExAssignmentEditorGUI\initAssignmentForm(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::TEAMS_FORMED_BY_PARTICIPANTS = 0 |
Definition at line 54 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initAssignmentForm().
const ilExAssignment::TEAMS_FORMED_BY_RANDOM = 2 |
Definition at line 56 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\generateTeams(), ilExAssignmentEditorGUI\initAssignmentForm(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::TEAMS_FORMED_BY_TUTOR = 1 |
Definition at line 55 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\generateTeams(), ilExAssignmentEditorGUI\initAssignmentForm(), and ilExAssignmentEditorGUI\processForm().
const ilExAssignment::TYPE_BLOG = 2 |
Definition at line 40 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\addLink(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExSubmission\getLastDownloadTime(), ilExSubmissionObjectGUI\getOverviewContent(), ILIAS\Exercise\Submission\SubmissionManager\getSubmissionsOfOwners(), ILIAS\Exercise\Submission\SubmissionManager\getSubmissionsOfUser(), and ilExSubmission\updateTextSubmission().
const ilExAssignment::TYPE_PORTFOLIO = 3 |
Definition at line 41 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\addLink(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExSubmission\getLastDownloadTime(), ilExSubmissionObjectGUI\getOverviewContent(), ILIAS\Exercise\Submission\SubmissionManager\getSubmissionsOfOwners(), ILIAS\Exercise\Submission\SubmissionManager\getSubmissionsOfUser(), ilObjPortfolioGUI\linkPortfolioToAssignment(), and ilExSubmission\updateTextSubmission().
const ilExAssignment::TYPE_TEXT = 5 |
Definition at line 43 of file class.ilExAssignment.php.
Referenced by ilExerciseSubmissionTableGUI\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExSubmissionTextGUI\executeCommand(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExPeerReviewGUI\getSubmissionContent(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), ilExSubmissionGUI\listPublicSubmissionsObject(), ilExerciseManagementGUI\membersObject(), and ilExSubmission\updateTextSubmission().
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\addLink(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), ilExerciseMailNotification\send(), and ilExSubmission\updateTextSubmission().
const ilExAssignment::TYPE_UPLOAD_TEAM = 4 |
Definition at line 42 of file class.ilExAssignment.php.
Referenced by ilExcAssMemberState\__construct(), ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTeam\getAdoptableTeamAssignments(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExcAssMemberState\getInstanceByIds(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), ilExerciseManagementGUI\membersObject(), and ilExSubmission\updateTextSubmission().
const ilExAssignment::TYPE_WIKI_TEAM = 6 |
Definition at line 44 of file class.ilExAssignment.php.
Referenced by ilWikiPageGUI\finalizeAssignment(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypesGUI\getById(), ilExAssignmentTypes\getById(), ilExSubmission\getLastDownloadTime(), ilObjWikiListGUI\getProperties(), ILIAS\Exercise\Submission\SubmissionManager\getSubmissionsOfOwners(), ILIAS\Exercise\Submission\SubmissionManager\getSubmissionsOfUser(), ilExerciseDataSet\importRecord(), and ilExSubmission\updateTextSubmission().