|
ILIAS
release_8 Revision v8.24
|
Exercise assignment. More...
Collaboration diagram for ilExAssignment: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().
Here is the call graph for this function:| ilExAssignment::afterCustomDate | ( | ) |
Definition at line 1762 of file class.ilExAssignment.php.
| ilExAssignment::afterDeadline | ( | ) |
Definition at line 1724 of file class.ilExAssignment.php.
References $ilUser.
| ilExAssignment::afterDeadlineStrict | ( | bool | $a_include_personal = true | ) |
Definition at line 1736 of file class.ilExAssignment.php.
| ilExAssignment::beforeDeadline | ( | ) |
Definition at line 1773 of file class.ilExAssignment.php.
| ilExAssignment::canParticipantReceiveFeedback | ( | int | $part_id | ) |
Definition at line 2208 of file class.ilExAssignment.php.
References ILIAS\Survey\Mode\getId(), and ilExAssignmentTeam\getTeamId().
Here is the call graph for this function:| ilExAssignment::clearMultiFeedbackDirectory | ( | ) |
Clear multi feedback directory.
Definition at line 1511 of file class.ilExAssignment.php.
References $ilUser, ilFileUtils\delDir(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
Clone assignments of exercise.
| DirectoryNotFoundException | |
| FileNotFoundException | |
| IOException | |
| ilExcUnknownAssignmentTypeException|ilDateTimeException |
Definition at line 922 of file class.ilExAssignment.php.
References $d, ilExAssignmentTypeInterface\cloneSpecificProperties(), ilExAssignmentReminder\FEEDBACK_REMINDER, ilExAssignmentReminder\GRADE_REMINDER, insertFileOrderNr(), ilFileUtils\rCopy(), and ilExAssignmentReminder\SUBMIT_REMINDER.
Here is the call graph for this function:
|
static |
Definition at line 1170 of file class.ilExAssignment.php.
|
static |
Definition at line 1154 of file class.ilExAssignment.php.
|
static |
Definition at line 1327 of file class.ilExAssignment.php.
|
static |
Definition at line 1306 of file class.ilExAssignment.php.
Referenced by ilExerciseMembers\assignMember().
Here is the caller graph for this function:| ilExAssignment::delete | ( | ilObjExercise | $exc, |
| bool | $update_status = true |
||
| ) |
| ilDateTimeException |
Definition at line 816 of file class.ilExAssignment.php.
References $ilDB, ILIAS\Survey\Mode\getId(), and ilObjExercise\updateAllUsersStatus().
Here is the call graph for this function:| ilExAssignment::deleteGlobalFeedbackFile | ( | ) |
Definition at line 1795 of file class.ilExAssignment.php.
References ilFileUtils\delDir().
Here is the call graph for this function:| ilExAssignment::fileAddOrder | ( | array | $a_entries = array() | ) |
Definition at line 2121 of file class.ilExAssignment.php.
| ilExAssignment::fixInstructionFileOrdering | ( | ) |
Definition at line 2082 of file class.ilExAssignment.php.
References Vendor\Package\$f, ilDBInterface\fetchAssoc(), ILIAS\Survey\Mode\getId(), ilDBInterface\manipulate(), ilDBInterface\query(), and ilDBInterface\quote().
Here is the call graph for this function:
|
static |
Definition at line 872 of file class.ilExAssignment.php.
References $data, $DIC, and $ilDB.
Referenced by ilExerciseXMLParser\__construct(), ilObjExercise\delete(), and ilExerciseXMLWriter\start().
Here is the caller graph for this function:| ilExAssignment::getAssignmentType | ( | ) |
Definition at line 391 of file class.ilExAssignment.php.
Referenced by ilExSubmission\__construct().
Here is the caller graph for this function:| 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, ILIAS\Survey\Mode\getId(), and ilExcIndividualDeadline\getStartingTimestamps().
Here is the call graph for this function:| ilExAssignment::getDeadline | ( | ) |
Definition at line 231 of file class.ilExAssignment.php.
| ilExAssignment::getDeadlineMode | ( | ) |
Definition at line 245 of file class.ilExAssignment.php.
| ilExAssignment::getExerciseId | ( | ) |
Definition at line 211 of file class.ilExAssignment.php.
| 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 $ilDB.
| ilExAssignment::getExtendedDeadline | ( | ) |
Definition at line 314 of file class.ilExAssignment.php.
| ilExAssignment::getFeedbackDate | ( | ) |
Definition at line 589 of file class.ilExAssignment.php.
| ilExAssignment::getFeedbackDateCustom | ( | ) |
Definition at line 603 of file class.ilExAssignment.php.
| ilExAssignment::getFeedbackFile | ( | ) |
Definition at line 565 of file class.ilExAssignment.php.
| ilExAssignment::getFiles | ( | ) |
Definition at line 1016 of file class.ilExAssignment.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilExAssignment::getGlobalFeedbackFilePath | ( | ) |
Definition at line 1814 of file class.ilExAssignment.php.
References $path.
| ilExAssignment::getGlobalFeedbackFileStoragePath | ( | ) |
Definition at line 1789 of file class.ilExAssignment.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilExAssignment::getId | ( | ) |
Definition at line 201 of file class.ilExAssignment.php.
References $id.
Referenced by ilExcAssMemberState\__construct(), ilExSubmission\__construct(), ilExPeerReview\__construct(), ilExAssignmentGUI\addFiles(), ilExAssignmentEditorGUI\generateTeams(), ilExAssTypeWikiTeamGUI\getFormValuesArray(), ilExAssignmentGUI\getOverviewBody(), ilExAssignmentGUI\getOverviewHeader(), ilExAssTypeWikiTeamGUI\importFormToAssignment(), and ilAssignmentsPerParticipantTableGUI\parseData().
Here is the caller graph for this function:| ilExAssignment::getIndividualDeadlines | ( | ) |
Definition at line 1901 of file class.ilExAssignment.php.
Referenced by ilAssignmentsPerParticipantTableGUI\parseData().
Here is the caller graph for this function:
|
static |
| int | $a_exc_id |
| ilExcUnknownAssignmentTypeException |
Definition at line 135 of file class.ilExAssignment.php.
References $data, $DIC, and $ilDB.
Referenced by ilExGradesTableGUI\__construct(), ilCalendarScheduleFilterExercise\addCustomEvents(), ilExerciseMembers\deassignMember(), ilObjExercise\exportGradesExcel(), ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsManager\getAssignmentSelection(), ilExcCriteriaCatalogueTableGUI\getItems(), ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsManager\getTotalNumberOfAssignments(), ilExerciseManagementGUI\membersObject(), and ilAssignmentsPerParticipantTableGUI\parseData().
Here is the caller graph for this function:| ilExAssignment::getInstruction | ( | ) |
Definition at line 324 of file class.ilExAssignment.php.
| ilExAssignment::getInstructionFilesOrder | ( | ) |
Definition at line 1023 of file class.ilExAssignment.php.
| ilExAssignment::getInstructionPresentation | ( | ) |
Definition at line 329 of file class.ilExAssignment.php.
| ilExAssignment::getLastPersonalDeadline | ( | ) |
Definition at line 298 of file class.ilExAssignment.php.
References $ilDB.
| ilExAssignment::getMandatory | ( | ) |
Definition at line 358 of file class.ilExAssignment.php.
| ilExAssignment::getMaxCharLimit | ( | ) |
Definition at line 2173 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\getFormValuesArray().
Here is the caller graph for this function:| ilExAssignment::getMaxFile | ( | ) |
Definition at line 625 of file class.ilExAssignment.php.
| ilExAssignment::getMemberListData | ( | ) |
Definition at line 1202 of file class.ilExAssignment.php.
References $ilDB, $name, ilObject\_exists(), ilObjUser\_lookupName(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilExAssignment::getMemberStatus | ( | ?int | $a_user_id = null | ) |
Definition at line 1824 of file class.ilExAssignment.php.
References $ilUser, and ILIAS\Survey\Mode\getId().
Referenced by ilExAssignmentGUI\getOverviewHeader(), ilAssignmentsPerParticipantTableGUI\parseData(), and ilObjExercise\processExerciseStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::getMinCharLimit | ( | ) |
Definition at line 2162 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\getFormValuesArray().
Here is the caller graph for this function:| 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, ilObjUser\_lookupName(), ilFileUtils\getDir(), ILIAS\Survey\Mode\getId(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilExAssignment::getOrderNr | ( | ) |
Definition at line 368 of file class.ilExAssignment.php.
Referenced by ilAssignmentsPerParticipantTableGUI\parseData().
Here is the caller graph for this function:| ilExAssignment::getPeerReview | ( | ) |
Definition at line 416 of file class.ilExAssignment.php.
| ilExAssignment::getPeerReviewChars | ( | ) |
Definition at line 517 of file class.ilExAssignment.php.
| ilExAssignment::getPeerReviewCriteriaCatalogue | ( | ) |
Definition at line 527 of file class.ilExAssignment.php.
| ilExAssignment::getPeerReviewDeadline | ( | ) |
Definition at line 449 of file class.ilExAssignment.php.
| ilExAssignment::getPeerReviewMin | ( | ) |
Definition at line 426 of file class.ilExAssignment.php.
| ilExAssignment::getPeerReviewSimpleUnlock | ( | ) |
Definition at line 436 of file class.ilExAssignment.php.
| ilExAssignment::getPeerReviewValid | ( | ) |
Definition at line 464 of file class.ilExAssignment.php.
|
static |
Definition at line 1630 of file class.ilExAssignment.php.
References $DIC, $ilDB, and $res.
Referenced by ilExcCronFeedbackNotification\run().
Here is the caller graph for this function:| ilExAssignment::getPersonalDeadline | ( | int | $a_user_id | ) |
Definition at line 272 of file class.ilExAssignment.php.
References $ilDB, ILIAS\Survey\Mode\getId(), and ilExAssignmentTeam\getTeamId().
Here is the call graph for this function:| ilExAssignment::getPortfolioTemplateId | ( | ) |
Definition at line 636 of file class.ilExAssignment.php.
Referenced by ilExAssTypePortfolioGUI\getFormValuesArray().
Here is the caller graph for this function:| ilExAssignment::getRelativeDeadline | ( | ) |
Definition at line 255 of file class.ilExAssignment.php.
| ilExAssignment::getRelDeadlineLastSubmission | ( | ) |
Definition at line 265 of file class.ilExAssignment.php.
| ilExAssignment::getStartTime | ( | ) |
Definition at line 221 of file class.ilExAssignment.php.
| ilExAssignment::getTeamTutor | ( | ) |
Definition at line 614 of file class.ilExAssignment.php.
| ilExAssignment::getTitle | ( | ) |
Definition at line 348 of file class.ilExAssignment.php.
Referenced by ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExAssignmentGUI\getOverviewHeader(), and ilAssignmentsPerParticipantTableGUI\parseData().
Here is the caller graph for this function:| 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.
|
protected |
Handle calendar entries for deadline(s)
| ilDateTimeException |
Definition at line 1579 of file class.ilExAssignment.php.
| ilExAssignment::handleGlobalFeedbackFileUpload | ( | array | $a_file | ) |
| ilException |
Definition at line 1803 of file class.ilExAssignment.php.
References $path, ilFileUtils\delDir(), and ilFileUtils\moveUploadedFile().
Here is the call graph for this function:| ilExAssignment::hasActiveIDl | ( | ) |
Definition at line 1920 of file class.ilExAssignment.php.
| ilExAssignment::hasFeedbackCron | ( | ) |
Definition at line 578 of file class.ilExAssignment.php.
| ilExAssignment::hasPeerReviewFileUpload | ( | ) |
Definition at line 494 of file class.ilExAssignment.php.
| ilExAssignment::hasPeerReviewPersonalized | ( | ) |
Definition at line 504 of file class.ilExAssignment.php.
| ilExAssignment::hasPeerReviewRating | ( | ) |
Definition at line 474 of file class.ilExAssignment.php.
| ilExAssignment::hasPeerReviewText | ( | ) |
Definition at line 484 of file class.ilExAssignment.php.
| ilExAssignment::hasReadOnlyIDl | ( | ) |
Definition at line 1925 of file class.ilExAssignment.php.
| ilExAssignment::hasTeam | ( | ) |
Definition at line 191 of file class.ilExAssignment.php.
Referenced by ilExSubmission\__construct(), and ilAssignmentsPerParticipantTableGUI\parseData().
Here is the caller graph for this function:
|
protected |
Import DB record.
| array | $a_set |
| ilExcUnknownAssignmentTypeException |
Definition at line 665 of file class.ilExAssignment.php.
|
static |
Definition at line 1962 of file class.ilExAssignment.php.
Referenced by cloneAssignmentsOfExercise().
Here is the caller graph for this function:
|
static |
| list<string> | $a_file |
Definition at line 2018 of file class.ilExAssignment.php.
References ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilExAssignmentFileSystemGUI\deleteFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2061 of file class.ilExAssignment.php.
References ilDBInterface\numRows(), ilDBInterface\query(), and ilDBInterface\quote().
Here is the call graph for this function:
|
static |
| array | $a_file_data | |
| int | $a_ass_id | assignment id |
Definition at line 166 of file class.ilExAssignment.php.
References ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Definition at line 1982 of file class.ilExAssignment.php.
References $filename, $id, ilFileUtils\getSafeFilename(), ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilExAssignmentFileSystemGUI\uploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2135 of file class.ilExAssignment.php.
References $DIC, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), ilDBInterface\queryF(), and ilDBInterface\quote().
Here is the call graph for this function:
|
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().
Here is the caller graph for this function:| ilExAssignment::isValidType | ( | int | $a_value | ) |
Definition at line 406 of file class.ilExAssignment.php.
|
staticprivate |
Definition at line 1084 of file class.ilExAssignment.php.
|
static |
Definition at line 1057 of file class.ilExAssignment.php.
|
static |
Definition at line 1072 of file class.ilExAssignment.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjExerciseGUI\__construct(), and ilExerciseGSToolProvider\getAssignmentInfo().
Here is the caller graph for this function:
|
static |
Definition at line 1041 of file class.ilExAssignment.php.
|
static |
Definition at line 1100 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\confirmAssignmentsDeletionObject(), ilObjExerciseSubItemListGUI\getHTML(), ilExerciseManagementGUI\initMultiFeedbackForm(), ilExcMailTemplateGradeReminderContext\resolveSpecificPlaceholder(), ilExcMailTemplatePeerReminderContext\resolveSpecificPlaceholder(), ilExcMailTemplateSubmitReminderContext\resolveSpecificPlaceholder(), ilDownloadSubmissionsBackgroundTask\run(), and ilExerciseMailNotification\send().
Here is the caller graph for this function:
|
static |
Definition at line 1105 of file class.ilExAssignment.php.
Referenced by ilParticipantsPerAssignmentTableGUI\__construct(), and ilExerciseMailNotification\send().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| ilExAssignment::read | ( | ) |
| ilExcUnknownAssignmentTypeException |
Definition at line 644 of file class.ilExAssignment.php.
References $ilDB.
Referenced by __construct().
Here is the caller graph for this function:| ilExAssignment::recalculateLateSubmissions | ( | ) |
| ilDateTimeException |
Definition at line 1840 of file class.ilExAssignment.php.
References $id, $ilDB, ilExSubmission\getAllAssignmentFiles(), ILIAS\Survey\Mode\getId(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Here is the call graph for this function:
|
static |
Definition at line 2036 of file class.ilExAssignment.php.
References ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilExAssignmentFileSystemGUI\renameFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::save | ( | ) |
| ilDateTimeException |
Definition at line 705 of file class.ilExAssignment.php.
References $ilDB.
|
static |
Definition at line 1111 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\saveAssignmentOrderObject().
Here is the caller graph for this function:
|
static |
Definition at line 1939 of file class.ilExAssignment.php.
Referenced by ilExAssignmentFileSystemGUI\saveFilesOrder().
Here is the caller graph for this function:| ilExAssignment::saveMultiFeedbackFiles | ( | array | $a_files, |
| ilObjExercise | $a_exc | ||
| ) |
| array<int,list<string>> | $a_files |
Definition at line 1523 of file class.ilExAssignment.php.
|
static |
| ilExcUnknownAssignmentTypeException |
Definition at line 1672 of file class.ilExAssignment.php.
Referenced by ilExAssignmentMemberStatus\postUpdateReturned(), and ilExcCronFeedbackNotification\run().
Here is the caller graph for this function:| 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 $exercise, $name, ilObjUser\_lookupName(), ilFileDelivery\deliverFileLegacy(), ilOrgUnitPositionAndRBACAccessHandler\filterUserIdsByRbacOrPositionOfCurrentUser(), ilFileUtils\getASCIIFilename(), ILIAS\Survey\Mode\getId(), ilFileUtils\ilTempnam(), ilFileUtils\makeDir(), and ilFileUtils\zip().
Here is the call graph for this function:| ilExAssignment::setDeadline | ( | ?int | $a_val | ) |
Definition at line 226 of file class.ilExAssignment.php.
| 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.
| ilExAssignment::setExerciseId | ( | int | $a_val | ) |
Definition at line 206 of file class.ilExAssignment.php.
| ilExAssignment::setExtendedDeadline | ( | ?int | $a_val | ) |
Definition at line 309 of file class.ilExAssignment.php.
| ilExAssignment::setFeedbackCron | ( | bool | $a_value | ) |
Toggle (global) feedback file cron.
Definition at line 573 of file class.ilExAssignment.php.
| ilExAssignment::setFeedbackDate | ( | int | $a_value | ) |
Definition at line 584 of file class.ilExAssignment.php.
Referenced by __construct().
Here is the caller graph for this function:| 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.
| ilExAssignment::setFeedbackFile | ( | ?string | $a_value | ) |
Definition at line 560 of file class.ilExAssignment.php.
| ilExAssignment::setId | ( | int | $a_val | ) |
Definition at line 196 of file class.ilExAssignment.php.
Referenced by __construct().
Here is the caller graph for this function:| ilExAssignment::setIndividualDeadline | ( | string | $id, |
| ilDateTime | $date | ||
| ) |
Definition at line 1886 of file class.ilExAssignment.php.
References $id.
| ilExAssignment::setInstruction | ( | string | $a_val | ) |
Definition at line 319 of file class.ilExAssignment.php.
| ilExAssignment::setMandatory | ( | bool | $a_val | ) |
Definition at line 353 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
Here is the caller graph for this function:| ilExAssignment::setMaxCharLimit | ( | int | $a_val | ) |
Definition at line 2168 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\importFormToAssignment().
Here is the caller graph for this function:| ilExAssignment::setMaxFile | ( | ?int | $a_value | ) |
Definition at line 620 of file class.ilExAssignment.php.
| ilExAssignment::setMinCharLimit | ( | int | $a_val | ) |
Definition at line 2157 of file class.ilExAssignment.php.
Referenced by ilExAssTypeTextGUI\importFormToAssignment().
Here is the caller graph for this function:| ilExAssignment::setOrderNr | ( | int | $a_val | ) |
Definition at line 363 of file class.ilExAssignment.php.
| ilExAssignment::setPeerReview | ( | bool | $a_value | ) |
Definition at line 411 of file class.ilExAssignment.php.
| ilExAssignment::setPeerReviewChars | ( | ?int | $a_value | ) |
Definition at line 509 of file class.ilExAssignment.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| ilExAssignment::setPeerReviewCriteriaCatalogue | ( | ?int | $a_value | ) |
Definition at line 522 of file class.ilExAssignment.php.
| ilExAssignment::setPeerReviewDeadline | ( | int | $a_val | ) |
| int | deadline (timestamp) |
Definition at line 444 of file class.ilExAssignment.php.
| ilExAssignment::setPeerReviewFileUpload | ( | bool | $a_val | ) |
Definition at line 489 of file class.ilExAssignment.php.
| ilExAssignment::setPeerReviewMin | ( | int | $a_value | ) |
Definition at line 421 of file class.ilExAssignment.php.
| ilExAssignment::setPeerReviewPersonalized | ( | bool | $a_val | ) |
Definition at line 499 of file class.ilExAssignment.php.
| ilExAssignment::setPeerReviewRating | ( | bool | $a_val | ) |
Definition at line 469 of file class.ilExAssignment.php.
| ilExAssignment::setPeerReviewSimpleUnlock | ( | bool | $a_value | ) |
Definition at line 431 of file class.ilExAssignment.php.
| ilExAssignment::setPeerReviewText | ( | bool | $a_val | ) |
Definition at line 479 of file class.ilExAssignment.php.
| ilExAssignment::setPeerReviewValid | ( | int | $a_value | ) |
Set peer review validation.
| int | $a_value | (self::PEER_REVIEW_VALID_NONE, self::PEER_REVIEW_VALID_ONE, self::PEER_REVIEW_VALID_ALL) |
Definition at line 459 of file class.ilExAssignment.php.
| ilExAssignment::setPortfolioTemplateId | ( | int | $a_val | ) |
Definition at line 631 of file class.ilExAssignment.php.
Referenced by ilExAssTypePortfolioGUI\importFormToAssignment().
Here is the caller graph for this function:| ilExAssignment::setRelativeDeadline | ( | int | $a_val | ) |
Definition at line 250 of file class.ilExAssignment.php.
| ilExAssignment::setRelDeadlineLastSubmission | ( | int | $a_val | ) |
Definition at line 260 of file class.ilExAssignment.php.
| ilExAssignment::setStartTime | ( | ?int | $a_val | ) |
Definition at line 216 of file class.ilExAssignment.php.
| ilExAssignment::setTeamTutor | ( | bool | $a_value | ) |
Definition at line 609 of file class.ilExAssignment.php.
| ilExAssignment::setTitle | ( | string | $a_val | ) |
Definition at line 343 of file class.ilExAssignment.php.
| ilExAssignment::setType | ( | int | $a_value | ) |
Set type this will most probably become an non public function in the future (or become obsolete)
| ilExcUnknownAssignmentTypeException |
Definition at line 378 of file class.ilExAssignment.php.
Referenced by __construct().
Here is the caller graph for this function:| ilExAssignment::update | ( | ) |
| ilDateTimeException |
Definition at line 763 of file class.ilExAssignment.php.
References $ilDB, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilExAssignment::uploadAssignmentFiles | ( | array | $a_files | ) |
Upload assignment files (from creation form)
Definition at line 1352 of file class.ilExAssignment.php.
References ILIAS\Survey\Mode\getId(), and ilLoggerFactory\getLogger().
Here is the call graph for this function:| ilExAssignment::uploadMultiFeedbackFile | ( | array | $a_file | ) |
| ilException | |
| ilExerciseException |
Definition at line 1418 of file class.ilExAssignment.php.
References $ilUser, $lng, ilFileUtils\delDir(), ilFileUtils\getDir(), ILIAS\Survey\Mode\getId(), ilFileUtils\moveUploadedFile(), and ilFileUtils\unzip().
Here is the call graph for this function:
|
protected |
Definition at line 61 of file class.ilExAssignment.php.
|
protected |
Definition at line 60 of file class.ilExAssignment.php.
|
protected |
Definition at line 94 of file class.ilExAssignment.php.
|
protected |
Definition at line 100 of file class.ilExAssignment.php.
|
protected |
Definition at line 57 of file class.ilExAssignment.php.
|
protected |
Definition at line 67 of file class.ilExAssignment.php.
|
protected |
Definition at line 68 of file class.ilExAssignment.php.
|
protected |
Definition at line 95 of file class.ilExAssignment.php.
|
protected |
Definition at line 64 of file class.ilExAssignment.php.
|
protected |
Definition at line 85 of file class.ilExAssignment.php.
|
protected |
Definition at line 86 of file class.ilExAssignment.php.
|
protected |
Definition at line 87 of file class.ilExAssignment.php.
|
protected |
Definition at line 84 of file class.ilExAssignment.php.
|
protected |
Definition at line 63 of file class.ilExAssignment.php.
|
protected |
Definition at line 69 of file class.ilExAssignment.php.
|
protected |
Definition at line 58 of file class.ilExAssignment.php.
|
protected |
Definition at line 99 of file class.ilExAssignment.php.
|
protected |
Definition at line 71 of file class.ilExAssignment.php.
|
protected |
Definition at line 92 of file class.ilExAssignment.php.
|
protected |
Definition at line 89 of file class.ilExAssignment.php.
|
protected |
Definition at line 98 of file class.ilExAssignment.php.
|
protected |
Definition at line 91 of file class.ilExAssignment.php.
|
protected |
Definition at line 72 of file class.ilExAssignment.php.
|
protected |
Definition at line 73 of file class.ilExAssignment.php.
|
protected |
Definition at line 80 of file class.ilExAssignment.php.
|
protected |
Definition at line 83 of file class.ilExAssignment.php.
|
protected |
Definition at line 76 of file class.ilExAssignment.php.
|
protected |
Definition at line 78 of file class.ilExAssignment.php.
|
protected |
Definition at line 74 of file class.ilExAssignment.php.
|
protected |
Definition at line 79 of file class.ilExAssignment.php.
|
protected |
Definition at line 82 of file class.ilExAssignment.php.
|
protected |
Definition at line 81 of file class.ilExAssignment.php.
|
protected |
Definition at line 75 of file class.ilExAssignment.php.
|
protected |
Definition at line 77 of file class.ilExAssignment.php.
|
protected |
Definition at line 90 of file class.ilExAssignment.php.
|
protected |
Definition at line 97 of file class.ilExAssignment.php.
|
protected |
Definition at line 96 of file class.ilExAssignment.php.
|
protected |
Definition at line 66 of file class.ilExAssignment.php.
|
protected |
Definition at line 55 of file class.ilExAssignment.php.
|
protected |
Definition at line 88 of file class.ilExAssignment.php.
|
protected |
Definition at line 70 of file class.ilExAssignment.php.
|
protected |
Definition at line 65 of file class.ilExAssignment.php.
|
protected |
Definition at line 93 of file class.ilExAssignment.php.
|
protected |
Definition at line 59 of file class.ilExAssignment.php.
| 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(), ilCalendarScheduleFilterExercise\modifyEvent(), ilParticipantsPerAssignmentTableGUI\parseModeColumns(), and ilExAssignmentEditorGUI\processForm().
| const ilExAssignment::FEEDBACK_DATE_CUSTOM = 3 |
Definition at line 42 of file class.ilExAssignment.php.
Referenced by ilExcAssMemberState\isGlobalFeedbackFileAccessible().
| const ilExAssignment::FEEDBACK_DATE_DEADLINE = 1 |
Definition at line 40 of file class.ilExAssignment.php.
Referenced by ilExcAssMemberState\isGlobalFeedbackFileAccessible(), and ilExAssignmentEditorGUI\processForm().
| const ilExAssignment::FEEDBACK_DATE_SUBMISSION = 2 |
Definition at line 41 of file class.ilExAssignment.php.
Referenced by 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\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(), and ilExAssignmentEditorGUI\processForm().
| const ilExAssignment::TEAMS_FORMED_BY_PARTICIPANTS = 0 |
Definition at line 48 of file class.ilExAssignment.php.
| const ilExAssignment::TEAMS_FORMED_BY_RANDOM = 2 |
Definition at line 50 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\generateTeams(), and ilExAssignmentEditorGUI\processForm().
| const ilExAssignment::TEAMS_FORMED_BY_TUTOR = 1 |
Definition at line 49 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\processForm().
| const ilExAssignment::TYPE_BLOG = 2 |
Definition at line 34 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), and ilExSubmissionObjectGUI\getOverviewContent().
| const ilExAssignment::TYPE_PORTFOLIO = 3 |
Definition at line 35 of file class.ilExAssignment.php.
Referenced by ilExerciseManagementCollectFilesJob\__construct(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), 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(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), 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\collectAssignmentData(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\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(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), and ilExerciseManagementGUI\membersObject().
| const ilExAssignment::TYPE_WIKI_TEAM = 6 |
Definition at line 38 of file class.ilExAssignment.php.
Referenced by ilWikiPageGUI\finalizeAssignment(), ilExAssignmentTypes\getAllIds(), ilExAssignmentTypes\getById(), ilExAssignmentTypesGUI\getById(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), and ilObjWikiListGUI\getProperties().