|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Exercise assignment. More...
Collaboration diagram for ilExAssignment:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. More... | |
| hasTeam () | |
| setId ($a_val) | |
| Set assignment id. More... | |
| getId () | |
| Get assignment id. More... | |
| setExerciseId ($a_val) | |
| Set exercise id. More... | |
| getExerciseId () | |
| Get exercise id. More... | |
| setStartTime ($a_val) | |
| Set start time (timestamp) More... | |
| getStartTime () | |
| Get start time (timestamp) More... | |
| setDeadline ($a_val) | |
| Set deadline (timestamp) More... | |
| getDeadline () | |
| Get deadline (timestamp) More... | |
| setExtendedDeadline ($a_val) | |
| Set extended deadline (timestamp) More... | |
| getExtendedDeadline () | |
| Get extended deadline (timestamp) More... | |
| setInstruction ($a_val) | |
| Set instruction. More... | |
| getInstruction () | |
| Get instruction. More... | |
| setTitle ($a_val) | |
| Set title. More... | |
| getTitle () | |
| Get title. More... | |
| setMandatory ($a_val) | |
| Set mandatory. More... | |
| getMandatory () | |
| Get mandatory. More... | |
| setOrderNr ($a_val) | |
| Set order nr. More... | |
| getOrderNr () | |
| Get order nr. More... | |
| setType ($a_value) | |
| Set type. More... | |
| getType () | |
| Get type. More... | |
| isValidType ($a_value) | |
| Is given type valid? More... | |
| setPeerReview ($a_value) | |
| Toggle peer review. More... | |
| getPeerReview () | |
| Get peer review status. More... | |
| setPeerReviewMin ($a_value) | |
| Set peer review minimum. More... | |
| getPeerReviewMin () | |
| Get peer review minimum. More... | |
| setPeerReviewSimpleUnlock ($a_value) | |
| Set peer review simple unlock. More... | |
| getPeerReviewSimpleUnlock () | |
| Get peer review simple unlock. More... | |
| setPeerReviewDeadline ($a_val) | |
| Set peer review deadline (timestamp) More... | |
| getPeerReviewDeadline () | |
| Get peer review deadline (timestamp) More... | |
| setPeerReviewValid ($a_value) | |
| Set peer review validation. More... | |
| getPeerReviewValid () | |
| Get peer review validatiob. More... | |
| setPeerReviewRating ($a_val) | |
| Set peer review rating. More... | |
| hasPeerReviewRating () | |
| Get peer review rating status. More... | |
| setPeerReviewText ($a_val) | |
| Set peer review text. More... | |
| hasPeerReviewText () | |
| Get peer review text status. More... | |
| setPeerReviewFileUpload ($a_val) | |
| Set peer review file upload. More... | |
| hasPeerReviewFileUpload () | |
| Get peer review file upload status. More... | |
| setPeerReviewPersonalized ($a_val) | |
| Set peer review personalized. More... | |
| hasPeerReviewPersonalized () | |
| Get peer review personalized status. More... | |
| setPeerReviewChars ($a_value) | |
| Set peer review minimum characters. More... | |
| getPeerReviewChars () | |
| Get peer review minimum characters. More... | |
| setPeerReviewCriteriaCatalogue ($a_value) | |
| Set peer review criteria catalogue id. More... | |
| getPeerReviewCriteriaCatalogue () | |
| Get peer review criteria catalogue id. More... | |
| getPeerReviewCriteriaCatalogueItems () | |
| setFeedbackFile ($a_value) | |
| Set (global) feedback file. More... | |
| getFeedbackFile () | |
| Get (global) feedback file. More... | |
| setFeedbackCron ($a_value) | |
| Toggle (global) feedback file cron. More... | |
| hasFeedbackCron () | |
| Get (global) feedback file cron status. More... | |
| setFeedbackDate ($a_value) | |
| Set (global) feedback file availability date. More... | |
| getFeedbackDate () | |
| Get (global) feedback file availability date. More... | |
| setTeamTutor ($a_value) | |
| Set team management by tutor. More... | |
| getTeamTutor () | |
| Get team management by tutor. More... | |
| setMaxFile ($a_value) | |
| Set max number of uploads. More... | |
| getMaxFile () | |
| Get max number of uploads. More... | |
| read () | |
| Read from db. More... | |
| save () | |
| Save assignment. More... | |
| update () | |
| Update. More... | |
| delete () | |
| Delete assignment. More... | |
| cloneAssignmentsOfExercise ($a_old_exc_id, $a_new_exc_id, array $a_crit_cat_map) | |
| Clone assignments of exercise. More... | |
| getFiles () | |
| Get files. More... | |
| saveAssOrderOfExercise ($a_ex_id, $a_order) | |
| Save ordering of all assignments of an exercise. More... | |
| orderAssByDeadline ($a_ex_id) | |
| Order assignments by deadline date. More... | |
| countMandatory ($a_ex_id) | |
| Order assignments by deadline date. More... | |
| getMemberListData () | |
| get member list data More... | |
| uploadAssignmentFiles ($a_files) | |
| Upload assignment files (from creation form) More... | |
| sendMultiFeedbackStructureFile () | |
| Create member status record for a new assignment for all participants. More... | |
| uploadMultiFeedbackFile ($a_file) | |
| Upload multi feedback file. More... | |
| getMultiFeedbackFiles ($a_user_id=0) | |
| Get multi feedback files (of uploader) More... | |
| clearMultiFeedbackDirectory () | |
| Clear multi feedback directory. More... | |
| saveMultiFeedbackFiles ($a_files, ilObjExercise $a_exc) | |
| Save multi feedback files. More... | |
| afterDeadline () | |
| afterDeadlineStrict () | |
| beforeDeadline () | |
| notStartedYet () | |
| getGlobalFeedbackFileStoragePath () | |
| deleteGlobalFeedbackFile () | |
| handleGlobalFeedbackFileUpload (array $a_file) | |
| getGlobalFeedbackFilePath () | |
| getMemberStatus ($a_user_id=null) | |
| recalculateLateSubmissions () | |
Static Public Member Functions | |
| static | getInstancesByExercise ($a_exc_id) |
| static | getAssignmentDataOfExercise ($a_exc_id) |
| Get assignments data of an exercise in an array. More... | |
| static | lookupMaxOrderNrForEx ($a_exc_id) |
| Select the maximum order nr for an exercise. More... | |
| static | lookupAssignmentOnline ($a_ass_id) |
| Check if assignment is online. More... | |
| static | lookupTitle ($a_id) |
| Lookup title. More... | |
| static | lookupType ($a_id) |
| Lookup type. More... | |
| static | lookupUpdatedSubmission ($ass_id, $member_id) |
| Check whether student has upload new files after tutor has set the exercise to another than notgraded. More... | |
| static | createNewUserRecords ($a_user_id, $a_exc_id) |
| Create member status record for a new participant for all assignments. More... | |
| static | createNewAssignmentRecords ($a_ass_id, $a_exc) |
| Create member status record for a new assignment for all participants. More... | |
| static | getPendingFeedbackNotifications () |
| static | sendFeedbackNotifications ($a_ass_id, $a_user_id=null) |
Data Fields | |
| const | TYPE_UPLOAD = 1 |
| const | TYPE_BLOG = 2 |
| const | TYPE_PORTFOLIO = 3 |
| const | TYPE_UPLOAD_TEAM = 4 |
| const | TYPE_TEXT = 5 |
| const | FEEDBACK_DATE_DEADLINE = 1 |
| const | FEEDBACK_DATE_SUBMISSION = 2 |
| const | PEER_REVIEW_VALID_NONE = 1 |
| const | PEER_REVIEW_VALID_ONE = 2 |
| const | PEER_REVIEW_VALID_ALL = 3 |
Protected Member Functions | |
| initFromDB (array $a_set) | |
| Import DB record. More... | |
| handleCalendarEntries ($a_event) | |
| Handle calendar entries for deadline(s) More... | |
Static Private Member Functions | |
| static | lookup ($a_id, $a_field) |
| Private lookup. More... | |
| ilExAssignment::__construct | ( | $a_id = 0 | ) |
Constructor.
Definition at line 58 of file class.ilExAssignment.php.
References read(), setFeedbackDate(), setId(), and setType().
Here is the call graph for this function:| ilExAssignment::afterDeadline | ( | ) |
Definition at line 1631 of file class.ilExAssignment.php.
References $deadline.
Referenced by ilExAssignmentGUI\addPublicSubmissions(), and afterDeadlineStrict().
Here is the caller graph for this function:| ilExAssignment::afterDeadlineStrict | ( | ) |
Definition at line 1638 of file class.ilExAssignment.php.
References $deadline, and afterDeadline().
Referenced by ilExAssignmentGUI\addSubmission(), and beforeDeadline().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::beforeDeadline | ( | ) |
Definition at line 1646 of file class.ilExAssignment.php.
References afterDeadlineStrict().
Referenced by ilExAssignmentGUI\addSchedule().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::clearMultiFeedbackDirectory | ( | ) |
Clear multi feedback directory.
| array |
Definition at line 1424 of file class.ilExAssignment.php.
References $ilUser, $lng, ilUtil\delDir(), getExerciseId(), and getId().
Referenced by saveMultiFeedbackFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::cloneAssignmentsOfExercise | ( | $a_old_exc_id, | |
| $a_new_exc_id, | |||
| array | $a_crit_cat_map | ||
| ) |
Clone assignments of exercise.
return
Definition at line 912 of file class.ilExAssignment.php.
References $d, getInstancesByExercise(), and ilUtil\rCopy().
Referenced by ilObjExercise\cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::countMandatory | ( | $a_ex_id | ) |
Order assignments by deadline date.
Definition at line 1100 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilObjExerciseGUI\initEditCustomForm().
Here is the caller graph for this function:
|
static |
Create member status record for a new assignment for all participants.
Definition at line 1223 of file class.ilExAssignment.php.
References $ilDB.
Referenced by save().
Here is the caller graph for this function:
|
static |
Create member status record for a new participant for all assignments.
Definition at line 1203 of file class.ilExAssignment.php.
References $ilDB, and getAssignmentDataOfExercise().
Referenced by ilExerciseMembers\assignMember().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::delete | ( | ) |
Delete assignment.
Definition at line 847 of file class.ilExAssignment.php.
References $ilDB, deleteGlobalFeedbackFile(), getExerciseId(), and handleCalendarEntries().
Here is the call graph for this function:| ilExAssignment::deleteGlobalFeedbackFile | ( | ) |
Definition at line 1669 of file class.ilExAssignment.php.
References ilUtil\delDir(), and getGlobalFeedbackFileStoragePath().
Referenced by delete(), and ilExAssignmentEditorGUI\importFormToAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get assignments data of an exercise in an array.
Definition at line 866 of file class.ilExAssignment.php.
Referenced by ilExParticipantTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), createNewUserRecords(), ilExAssignmentTeam\getAdoptableTeamAssignments(), ilExerciseXMLParser\ilExerciseXMLParser(), ilObjExerciseGUI\infoScreen(), ilExerciseManagementGUI\showParticipantObject(), and ilExerciseXMLWriter\start().
Here is the caller graph for this function:| ilExAssignment::getDeadline | ( | ) |
Get deadline (timestamp)
Definition at line 175 of file class.ilExAssignment.php.
References $deadline.
Referenced by ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\getOverviewHeader(), handleCalendarEntries(), recalculateLateSubmissions(), save(), ilObjExercise\sendAssignment(), and update().
Here is the caller graph for this function:| ilExAssignment::getExerciseId | ( | ) |
Get exercise id.
Definition at line 135 of file class.ilExAssignment.php.
References $exc_id.
Referenced by ilExAssignmentGUI\addSubmissionFeedback(), clearMultiFeedbackDirectory(), delete(), ilExSubmission\downloadAllAssignmentFiles(), getFiles(), getGlobalFeedbackFileStoragePath(), getMultiFeedbackFiles(), handleCalendarEntries(), save(), saveMultiFeedbackFiles(), ilObjExercise\sendAssignment(), sendMultiFeedbackStructureFile(), update(), uploadAssignmentFiles(), and uploadMultiFeedbackFile().
Here is the caller graph for this function:| ilExAssignment::getExtendedDeadline | ( | ) |
Get extended deadline (timestamp)
Definition at line 199 of file class.ilExAssignment.php.
References $deadline2.
Referenced by recalculateLateSubmissions(), save(), and update().
Here is the caller graph for this function:| ilExAssignment::getFeedbackDate | ( | ) |
Get (global) feedback file availability date.
Definition at line 645 of file class.ilExAssignment.php.
References $feedback_date.
Referenced by ilExAssignmentGUI\addSubmission(), save(), and update().
Here is the caller graph for this function:| ilExAssignment::getFeedbackFile | ( | ) |
Get (global) feedback file.
Definition at line 605 of file class.ilExAssignment.php.
References $feedback_file.
Referenced by ilExAssignmentGUI\addSubmission(), ilExAssignmentGUI\addSubmissionFeedback(), getGlobalFeedbackFilePath(), save(), and update().
Here is the caller graph for this function:| ilExAssignment::getFiles | ( | ) |
Get files.
Definition at line 978 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
Referenced by ilExAssignmentGUI\addFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::getGlobalFeedbackFilePath | ( | ) |
Definition at line 1686 of file class.ilExAssignment.php.
References $file, $path, getFeedbackFile(), and getGlobalFeedbackFileStoragePath().
Here is the call graph for this function:| ilExAssignment::getGlobalFeedbackFileStoragePath | ( | ) |
Definition at line 1662 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
Referenced by deleteGlobalFeedbackFile(), getGlobalFeedbackFilePath(), and handleGlobalFeedbackFileUpload().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::getId | ( | ) |
Get assignment id.
Definition at line 115 of file class.ilExAssignment.php.
References $id.
Referenced by ilExPeerReview\__construct(), ilExAssignmentGUI\addSubmissionFeedback(), clearMultiFeedbackDirectory(), ilExSubmission\downloadAllAssignmentFiles(), getFiles(), getGlobalFeedbackFileStoragePath(), getMemberListData(), getMemberStatus(), getMultiFeedbackFiles(), ilExAssignmentGUI\getOverviewBody(), handleCalendarEntries(), ilExAssignmentEditorGUI\importFormToAssignment(), recalculateLateSubmissions(), saveMultiFeedbackFiles(), ilObjExercise\sendAssignment(), sendMultiFeedbackStructureFile(), update(), uploadAssignmentFiles(), and uploadMultiFeedbackFile().
Here is the caller graph for this function:
|
static |
Definition at line 70 of file class.ilExAssignment.php.
Referenced by ilExGradesTableGUI\__construct(), cloneAssignmentsOfExercise(), ilExSubmission\deleteUser(), ilObjExercise\determinStatusOfUser(), ilObjExercise\exportGradesExcel(), ilExcCriteriaCatalogueTableGUI\getItems(), ilExerciseManagementGUI\membersObject(), and ilObjExerciseGUI\showOverviewObject().
Here is the caller graph for this function:| ilExAssignment::getInstruction | ( | ) |
Get instruction.
Definition at line 219 of file class.ilExAssignment.php.
References $instruction.
Referenced by ilExAssignmentGUI\addInstructions(), save(), ilObjExercise\sendAssignment(), and update().
Here is the caller graph for this function:| ilExAssignment::getMandatory | ( | ) |
Get mandatory.
Definition at line 259 of file class.ilExAssignment.php.
References $mandatory.
Referenced by ilExAssignmentGUI\getOverviewHeader(), save(), and update().
Here is the caller graph for this function:| ilExAssignment::getMaxFile | ( | ) |
Get max number of uploads.
Definition at line 689 of file class.ilExAssignment.php.
References $max_file.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::getMemberListData | ( | ) |
get member list data
Definition at line 1155 of file class.ilExAssignment.php.
References $ilDB, and getId().
Here is the call graph for this function:| ilExAssignment::getMemberStatus | ( | $a_user_id = null | ) |
Definition at line 1696 of file class.ilExAssignment.php.
References $ilUser, and getId().
Referenced by ilExAssignmentGUI\addSubmissionFeedback(), ilExAssignmentGUI\getOverviewHeader(), ilObjExercise\processExerciseStatus(), and ilObjExercise\sendAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::getMultiFeedbackFiles | ( | $a_user_id = 0 | ) |
Get multi feedback files (of uploader)
| int | $a_user_id | user id of uploader |
Definition at line 1351 of file class.ilExAssignment.php.
References $ilUser, ilObjUser\_lookupName(), ilUtil\getDir(), getExerciseId(), and getId().
Referenced by saveMultiFeedbackFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::getOrderNr | ( | ) |
Get order nr.
Definition at line 279 of file class.ilExAssignment.php.
References $order_nr.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::getPeerReview | ( | ) |
Get peer review status.
Definition at line 343 of file class.ilExAssignment.php.
References $peer.
Referenced by ilExAssignmentGUI\getOverviewHeader(), handleCalendarEntries(), save(), and update().
Here is the caller graph for this function:| ilExAssignment::getPeerReviewChars | ( | ) |
Get peer review minimum characters.
Definition at line 526 of file class.ilExAssignment.php.
References $peer_char.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::getPeerReviewCriteriaCatalogue | ( | ) |
Get peer review criteria catalogue id.
Definition at line 549 of file class.ilExAssignment.php.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::getPeerReviewCriteriaCatalogueItems | ( | ) |
Definition at line 554 of file class.ilExAssignment.php.
References $res, ilExcCriteria\getInstanceByType(), and ilExcCriteria\getInstancesByParentId().
Here is the call graph for this function:| ilExAssignment::getPeerReviewDeadline | ( | ) |
Get peer review deadline (timestamp)
Definition at line 403 of file class.ilExAssignment.php.
References $peer_dl.
Referenced by ilExAssignmentGUI\getOverviewHeader(), handleCalendarEntries(), save(), and update().
Here is the caller graph for this function:| ilExAssignment::getPeerReviewMin | ( | ) |
Get peer review minimum.
Definition at line 363 of file class.ilExAssignment.php.
References $peer_min.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::getPeerReviewSimpleUnlock | ( | ) |
Get peer review simple unlock.
Definition at line 383 of file class.ilExAssignment.php.
References $peer_unlock.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::getPeerReviewValid | ( | ) |
Get peer review validatiob.
Definition at line 423 of file class.ilExAssignment.php.
References $peer_valid.
Referenced by save(), and update().
Here is the caller graph for this function:
|
static |
Definition at line 1552 of file class.ilExAssignment.php.
References $ilDB, $res, and $row.
Referenced by ilExcCronFeedbackNotification\run().
Here is the caller graph for this function:| ilExAssignment::getStartTime | ( | ) |
Get start time (timestamp)
Definition at line 155 of file class.ilExAssignment.php.
References $start_time.
Referenced by ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\getOverviewHeader(), save(), and update().
Here is the caller graph for this function:| ilExAssignment::getTeamTutor | ( | ) |
Get team management by tutor.
Definition at line 665 of file class.ilExAssignment.php.
References $team_tutor.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::getTitle | ( | ) |
Get title.
Definition at line 239 of file class.ilExAssignment.php.
References $title.
Referenced by ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExSubmission\downloadAllAssignmentFiles(), ilExAssignmentGUI\getOverviewHeader(), handleCalendarEntries(), save(), ilObjExercise\sendAssignment(), sendMultiFeedbackStructureFile(), and update().
Here is the caller graph for this function:| ilExAssignment::getType | ( | ) |
Get type.
Definition at line 307 of file class.ilExAssignment.php.
References $type.
Referenced by ilExSubmission\downloadAllAssignmentFiles(), save(), and update().
Here is the caller graph for this function:
|
protected |
Handle calendar entries for deadline(s)
| string | $a_event |
Definition at line 1498 of file class.ilExAssignment.php.
References getDeadline(), getExerciseId(), getId(), getPeerReview(), getPeerReviewDeadline(), getTitle(), IL_CAL_TRANSLATION_SYSTEM, and IL_CAL_UNIX.
Referenced by delete(), save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::handleGlobalFeedbackFileUpload | ( | array | $a_file | ) |
Definition at line 1674 of file class.ilExAssignment.php.
References $path, ilUtil\delDir(), getGlobalFeedbackFileStoragePath(), ilUtil\moveUploadedFile(), and setFeedbackFile().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::hasFeedbackCron | ( | ) |
Get (global) feedback file cron status.
Definition at line 625 of file class.ilExAssignment.php.
References $feedback_cron.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::hasPeerReviewFileUpload | ( | ) |
Get peer review file upload status.
Definition at line 483 of file class.ilExAssignment.php.
References $peer_file.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::hasPeerReviewPersonalized | ( | ) |
Get peer review personalized status.
Definition at line 503 of file class.ilExAssignment.php.
References $peer_personal.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::hasPeerReviewRating | ( | ) |
Get peer review rating status.
Definition at line 443 of file class.ilExAssignment.php.
References $peer_rating.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::hasPeerReviewText | ( | ) |
Get peer review text status.
Definition at line 463 of file class.ilExAssignment.php.
References $peer_text.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::hasTeam | ( | ) |
Definition at line 95 of file class.ilExAssignment.php.
References TYPE_UPLOAD_TEAM.
Referenced by ilExSubmission\__construct(), and ilExSubmission\downloadAllAssignmentFiles().
Here is the caller graph for this function:
|
protected |
Import DB record.
| array | $a_set |
Definition at line 719 of file class.ilExAssignment.php.
References setDeadline(), setExerciseId(), setExtendedDeadline(), setFeedbackCron(), setFeedbackDate(), setFeedbackFile(), setId(), setInstruction(), setMandatory(), setMaxFile(), setOrderNr(), setPeerReview(), setPeerReviewChars(), setPeerReviewCriteriaCatalogue(), setPeerReviewDeadline(), setPeerReviewFileUpload(), setPeerReviewMin(), setPeerReviewPersonalized(), setPeerReviewRating(), setPeerReviewSimpleUnlock(), setPeerReviewText(), setPeerReviewValid(), setStartTime(), setTeamTutor(), setTitle(), and setType().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::isValidType | ( | $a_value | ) |
Is given type valid?
| int | $a_value |
Definition at line 318 of file class.ilExAssignment.php.
Referenced by setType().
Here is the caller graph for this function:
|
staticprivate |
Private lookup.
Definition at line 1024 of file class.ilExAssignment.php.
References $ilDB.
Referenced by lookupTitle(), and lookupType().
Here is the caller graph for this function:
|
static |
Check if assignment is online.
| int | $a_ass_id |
Definition at line 1007 of file class.ilExAssignment.php.
References $ilDB, $query, and $res.
Referenced by ilObjExerciseSubItemListGUI\isAssignmentVisible().
Here is the caller graph for this function:
|
static |
Select the maximum order nr for an exercise.
Definition at line 988 of file class.ilExAssignment.php.
References $ilDB.
|
static |
Lookup title.
Definition at line 1040 of file class.ilExAssignment.php.
References lookup().
Referenced by ilExAssignmentEditorGUI\confirmAssignmentsDeletionObject(), ilExSubmission\downloadMultipleFiles(), ilObjExerciseSubItemListGUI\getHTML(), ilExerciseManagementGUI\initMultiFeedbackForm(), and ilExerciseMailNotification\send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup type.
Definition at line 1048 of file class.ilExAssignment.php.
References lookup().
Here is the call graph for this function:
|
static |
Check whether student has upload new files after tutor has set the exercise to another than notgraded.
Definition at line 1117 of file class.ilExAssignment.php.
| ilExAssignment::notStartedYet | ( | ) |
Definition at line 1652 of file class.ilExAssignment.php.
Referenced by ilExAssignmentGUI\addInstructions(), ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\getOverviewBody(), and ilExAssignmentGUI\getOverviewHeader().
Here is the caller graph for this function:| ilExAssignment::orderAssByDeadline | ( | $a_ex_id | ) |
Order assignments by deadline date.
Definition at line 1078 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilExAssignmentEditorGUI\orderAssignmentsByDeadlineObject().
Here is the caller graph for this function:| ilExAssignment::read | ( | ) |
Read from db.
Definition at line 697 of file class.ilExAssignment.php.
References $ilDB, and initFromDB().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::recalculateLateSubmissions | ( | ) |
Definition at line 1712 of file class.ilExAssignment.php.
References $deadline, $file, $id, $ilDB, ilExSubmission\getAllAssignmentFiles(), getDeadline(), getExtendedDeadline(), getId(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Here is the call graph for this function:| ilExAssignment::save | ( | ) |
Save assignment.
Definition at line 752 of file class.ilExAssignment.php.
References $ilDB, createNewAssignmentRecords(), getDeadline(), getExerciseId(), getExtendedDeadline(), getFeedbackDate(), getFeedbackFile(), getInstruction(), getMandatory(), getMaxFile(), getOrderNr(), getPeerReview(), getPeerReviewChars(), getPeerReviewCriteriaCatalogue(), getPeerReviewDeadline(), getPeerReviewMin(), getPeerReviewSimpleUnlock(), getPeerReviewValid(), getStartTime(), getTeamTutor(), getTitle(), getType(), handleCalendarEntries(), hasFeedbackCron(), hasPeerReviewFileUpload(), hasPeerReviewPersonalized(), hasPeerReviewRating(), hasPeerReviewText(), setId(), and setOrderNr().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::saveAssOrderOfExercise | ( | $a_ex_id, | |
| $a_order | |||
| ) |
Save ordering of all assignments of an exercise.
Definition at line 1056 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\saveAssignmentOrderObject().
Here is the caller graph for this function:| ilExAssignment::saveMultiFeedbackFiles | ( | $a_files, | |
| ilObjExercise | $a_exc | ||
| ) |
Save multi feedback files.
return
Definition at line 1440 of file class.ilExAssignment.php.
References clearMultiFeedbackDirectory(), getExerciseId(), getId(), ilObject\getId(), getMultiFeedbackFiles(), and ilObjExercise\sendFeedbackFileNotification().
Here is the call graph for this function:
|
static |
Definition at line 1576 of file class.ilExAssignment.php.
References $ilDB, $row, and ilExerciseMembers\_getMembers().
Referenced by ilExAssignmentMemberStatus\postUpdateReturned(), and ilExcCronFeedbackNotification\run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::sendMultiFeedbackStructureFile | ( | ) |
Create member status record for a new assignment for all participants.
Definition at line 1262 of file class.ilExAssignment.php.
References $ilDB, ilObjUser\_lookupName(), ilUtil\deliverFile(), ilUtil\getASCIIFilename(), getExerciseId(), getId(), getTitle(), ilUtil\ilTempnam(), ilUtil\makeDir(), and ilUtil\zip().
Here is the call graph for this function:| ilExAssignment::setDeadline | ( | $a_val | ) |
Set deadline (timestamp)
| int | deadline (timestamp) |
Definition at line 165 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setExerciseId | ( | $a_val | ) |
Set exercise id.
| int | exercise id |
Definition at line 125 of file class.ilExAssignment.php.
Referenced by initFromDB().
Here is the caller graph for this function:| ilExAssignment::setExtendedDeadline | ( | $a_val | ) |
Set extended deadline (timestamp)
| int |
Definition at line 185 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setFeedbackCron | ( | $a_value | ) |
Toggle (global) feedback file cron.
| bool | $a_value |
Definition at line 615 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setFeedbackDate | ( | $a_value | ) |
Set (global) feedback file availability date.
| int | $a_value |
Definition at line 635 of file class.ilExAssignment.php.
Referenced by __construct(), ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setFeedbackFile | ( | $a_value | ) |
Set (global) feedback file.
| string | $a_value |
Definition at line 595 of file class.ilExAssignment.php.
Referenced by handleGlobalFeedbackFileUpload(), ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setId | ( | $a_val | ) |
Set assignment id.
| int | assignment id |
Definition at line 105 of file class.ilExAssignment.php.
Referenced by __construct(), initFromDB(), and save().
Here is the caller graph for this function:| ilExAssignment::setInstruction | ( | $a_val | ) |
Set instruction.
| string | instruction |
Definition at line 209 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setMandatory | ( | $a_val | ) |
Set mandatory.
| int | mandatory |
Definition at line 249 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setMaxFile | ( | $a_value | ) |
Set max number of uploads.
| int | $a_value |
Definition at line 675 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setOrderNr | ( | $a_val | ) |
Set order nr.
| int | order nr |
Definition at line 269 of file class.ilExAssignment.php.
Referenced by initFromDB(), and save().
Here is the caller graph for this function:| ilExAssignment::setPeerReview | ( | $a_value | ) |
Toggle peer review.
| bool | $a_value |
Definition at line 333 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), initFromDB(), and setType().
Here is the caller graph for this function:| ilExAssignment::setPeerReviewChars | ( | $a_value | ) |
Set peer review minimum characters.
| int | $a_value |
Definition at line 513 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setPeerReviewCriteriaCatalogue | ( | $a_value | ) |
Set peer review criteria catalogue id.
| int | $a_value |
Definition at line 536 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setPeerReviewDeadline | ( | $a_val | ) |
Set peer review deadline (timestamp)
| int | deadline (timestamp) |
Definition at line 393 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setPeerReviewFileUpload | ( | $a_val | ) |
Set peer review file upload.
| bool |
Definition at line 473 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setPeerReviewMin | ( | $a_value | ) |
Set peer review minimum.
| int | $a_value |
Definition at line 353 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setPeerReviewPersonalized | ( | $a_val | ) |
Set peer review personalized.
| bool |
Definition at line 493 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setPeerReviewRating | ( | $a_val | ) |
Set peer review rating.
| bool |
Definition at line 433 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setPeerReviewSimpleUnlock | ( | $a_value | ) |
Set peer review simple unlock.
| bool | $a_value |
Definition at line 373 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setPeerReviewText | ( | $a_val | ) |
Set peer review text.
| bool |
Definition at line 453 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setPeerReviewValid | ( | $a_value | ) |
Set peer review validation.
| int | $a_value |
Definition at line 413 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setStartTime | ( | $a_val | ) |
Set start time (timestamp)
| int | start time (timestamp) |
Definition at line 145 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setTeamTutor | ( | $a_value | ) |
Set team management by tutor.
| bool | $a_value |
Definition at line 655 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setTitle | ( | $a_val | ) |
Set title.
| string | title |
Definition at line 229 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
Here is the caller graph for this function:| ilExAssignment::setType | ( | $a_value | ) |
Set type.
| int | $a_value |
Definition at line 289 of file class.ilExAssignment.php.
References isValidType(), and setPeerReview().
Referenced by __construct(), and initFromDB().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::update | ( | ) |
Update.
Definition at line 803 of file class.ilExAssignment.php.
References $ilDB, getDeadline(), getExerciseId(), getExtendedDeadline(), getFeedbackDate(), getFeedbackFile(), getId(), getInstruction(), getMandatory(), getMaxFile(), getOrderNr(), getPeerReview(), getPeerReviewChars(), getPeerReviewCriteriaCatalogue(), getPeerReviewDeadline(), getPeerReviewMin(), getPeerReviewSimpleUnlock(), getPeerReviewValid(), getStartTime(), getTeamTutor(), getTitle(), getType(), handleCalendarEntries(), hasFeedbackCron(), hasPeerReviewFileUpload(), hasPeerReviewPersonalized(), hasPeerReviewRating(), and hasPeerReviewText().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and ilExAssignmentEditorGUI\importPeerReviewFormToAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::uploadAssignmentFiles | ( | $a_files | ) |
Upload assignment files (from creation form)
Definition at line 1246 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::uploadMultiFeedbackFile | ( | $a_file | ) |
Upload multi feedback file.
| array |
Definition at line 1311 of file class.ilExAssignment.php.
References $ilUser, $lng, ilUtil\delDir(), ilUtil\getDir(), getExerciseId(), getId(), ilUtil\moveUploadedFile(), and ilUtil\unzip().
Here is the call graph for this function:
|
protected |
Definition at line 30 of file class.ilExAssignment.php.
Referenced by afterDeadline(), afterDeadlineStrict(), getDeadline(), and recalculateLateSubmissions().
|
protected |
Definition at line 31 of file class.ilExAssignment.php.
Referenced by getExtendedDeadline().
|
protected |
Definition at line 27 of file class.ilExAssignment.php.
Referenced by getExerciseId().
|
protected |
Definition at line 48 of file class.ilExAssignment.php.
Referenced by hasFeedbackCron().
|
protected |
Definition at line 49 of file class.ilExAssignment.php.
Referenced by getFeedbackDate().
|
protected |
Definition at line 47 of file class.ilExAssignment.php.
Referenced by getFeedbackFile().
|
protected |
Definition at line 26 of file class.ilExAssignment.php.
Referenced by getId(), and recalculateLateSubmissions().
|
protected |
Definition at line 32 of file class.ilExAssignment.php.
Referenced by getInstruction().
|
protected |
Definition at line 34 of file class.ilExAssignment.php.
Referenced by getMandatory().
|
protected |
Definition at line 51 of file class.ilExAssignment.php.
Referenced by getMaxFile().
|
protected |
Definition at line 53 of file class.ilExAssignment.php.
|
protected |
Definition at line 35 of file class.ilExAssignment.php.
Referenced by getOrderNr().
|
protected |
Definition at line 36 of file class.ilExAssignment.php.
Referenced by getPeerReview().
|
protected |
Definition at line 43 of file class.ilExAssignment.php.
Referenced by getPeerReviewChars().
|
protected |
Definition at line 46 of file class.ilExAssignment.php.
|
protected |
Definition at line 39 of file class.ilExAssignment.php.
Referenced by getPeerReviewDeadline().
|
protected |
Definition at line 41 of file class.ilExAssignment.php.
Referenced by hasPeerReviewFileUpload().
|
protected |
Definition at line 37 of file class.ilExAssignment.php.
Referenced by getPeerReviewMin().
|
protected |
Definition at line 42 of file class.ilExAssignment.php.
Referenced by hasPeerReviewPersonalized().
|
protected |
Definition at line 45 of file class.ilExAssignment.php.
Referenced by hasPeerReviewRating().
|
protected |
Definition at line 44 of file class.ilExAssignment.php.
Referenced by hasPeerReviewText().
|
protected |
Definition at line 38 of file class.ilExAssignment.php.
Referenced by getPeerReviewSimpleUnlock().
|
protected |
Definition at line 40 of file class.ilExAssignment.php.
Referenced by getPeerReviewValid().
|
protected |
Definition at line 29 of file class.ilExAssignment.php.
Referenced by getStartTime().
|
protected |
Definition at line 50 of file class.ilExAssignment.php.
Referenced by getTeamTutor().
|
protected |
Definition at line 33 of file class.ilExAssignment.php.
Referenced by getTitle().
|
protected |
Definition at line 28 of file class.ilExAssignment.php.
Referenced by getType().
| const ilExAssignment::FEEDBACK_DATE_DEADLINE = 1 |
Definition at line 19 of file class.ilExAssignment.php.
Referenced by ilExAssignmentGUI\addSubmission(), ilExSubmissionGUI\downloadGlobalFeedbackFileObject(), ilExAssignmentEditorGUI\initAssignmentForm(), and ilExAssignmentEditorGUI\processForm().
| const ilExAssignment::FEEDBACK_DATE_SUBMISSION = 2 |
Definition at line 20 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initAssignmentForm(), and ilExAssignmentMemberStatus\postUpdateReturned().
| const ilExAssignment::PEER_REVIEW_VALID_ALL = 3 |
Definition at line 24 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initPeerReviewForm(), and ilExPeerReview\isFeedbackValidForPassed().
| const ilExAssignment::PEER_REVIEW_VALID_NONE = 1 |
Definition at line 22 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\initPeerReviewForm(), ilExPeerReview\isFeedbackValidForPassed(), and ilExPeerReviewGUI\resetPeerReviewObject().
| const ilExAssignment::PEER_REVIEW_VALID_ONE = 2 |
Definition at line 23 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\initPeerReviewForm(), and ilExPeerReview\isFeedbackValidForPassed().
| const ilExAssignment::TYPE_BLOG = 2 |
Definition at line 14 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilExSubmission\downloadAllAssignmentFiles(), ilExSubmission\downloadFiles(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExSubmissionObjectGUI\getOverviewContent(), ilExSubmission\getSubmissionType(), and ilExAssignmentEditorGUI\getTypeDropdown().
| const ilExAssignment::TYPE_PORTFOLIO = 3 |
Definition at line 15 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilObjPortfolioGUI\createPortfolioFromTemplateProcess(), ilExSubmission\downloadAllAssignmentFiles(), ilExSubmission\downloadFiles(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExSubmissionObjectGUI\getOverviewContent(), ilExSubmission\getSubmissionType(), and ilExAssignmentEditorGUI\getTypeDropdown().
| const ilExAssignment::TYPE_TEXT = 5 |
Definition at line 17 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilExSubmissionTextGUI\executeCommand(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExPeerReviewGUI\getSubmissionContent(), ilExSubmission\getSubmissionType(), ilExAssignmentEditorGUI\getTypeDropdown(), ilExSubmissionGUI\listPublicSubmissionsObject(), ilExerciseManagementGUI\listTextAssignmentObject(), and ilExerciseManagementGUI\membersObject().
| const ilExAssignment::TYPE_UPLOAD = 1 |
Definition at line 13 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilExAssignmentEditorGUI\getAssignmentValues(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExSubmission\getSubmissionType(), ilExAssignmentEditorGUI\getTypeDropdown(), and ilExAssignmentEditorGUI\initAssignmentForm().
| const ilExAssignment::TYPE_UPLOAD_TEAM = 4 |
Definition at line 16 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\fillRow(), ilExAssignmentTeam\getAdoptableTeamAssignments(), ilExAssignmentEditorGUI\getAssignmentValues(), ilExSubmission\getDownloadedFilesInfoForTableGUIS(), ilExSubmission\getSubmissionType(), ilExAssignmentEditorGUI\getTypeDropdown(), ilExAssignmentEditorGUI\handleDisabledFields(), hasTeam(), ilExAssignmentEditorGUI\initAssignmentForm(), ilExerciseManagementGUI\membersObject(), ilExAssignmentEditorGUI\saveAssignmentObject(), and ilExAssignmentEditorGUI\setAssignmentHeader().