ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Exercise assignment. More...
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... | |
getPersonalDeadline ($a_user_id) | |
Get individual deadline. 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... | |
getFiles () | |
Get files. More... | |
saveAssOrderOfExercise ($a_ex_id, $a_order) | |
Save ordering of all assignments of an exercise. 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 ($a_include_personal=true) | |
beforeDeadline () | |
notStartedYet () | |
getGlobalFeedbackFileStoragePath () | |
deleteGlobalFeedbackFile () | |
handleGlobalFeedbackFileUpload (array $a_file) | |
getGlobalFeedbackFilePath () | |
getMemberStatus ($a_user_id=null) | |
recalculateLateSubmissions () | |
setIndividualDeadline ($id, ilDateTime $date) | |
getIndividualDeadlines () | |
hasActiveIDl () | |
hasReadOnlyIDl () | |
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 | cloneAssignmentsOfExercise ($a_old_exc_id, $a_new_exc_id, array $a_crit_cat_map) |
Clone assignments of exercise. 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 | lookupExerciseId ($a_ass_id) |
Lookup excercise id for assignment id. More... | |
static | lookupTitle ($a_id) |
Lookup title. More... | |
static | lookupType ($a_id) |
Lookup type. More... | |
static | orderAssByDeadline ($a_ex_id) |
Order assignments by deadline date. More... | |
static | countMandatory ($a_ex_id) |
Order assignments by deadline date. 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 | |
getLastPersonalDeadline () | |
Get last/final personal deadline (of assignment) More... | |
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().
ilExAssignment::afterDeadline | ( | ) |
Definition at line 1706 of file class.ilExAssignment.php.
References $deadline, $ilUser, getPersonalDeadline(), and time.
Referenced by ilExAssignmentGUI\addPublicSubmissions(), and afterDeadlineStrict().
ilExAssignment::afterDeadlineStrict | ( | $a_include_personal = true | ) |
Definition at line 1718 of file class.ilExAssignment.php.
References $deadline, afterDeadline(), getLastPersonalDeadline(), and time.
Referenced by ilExAssignmentGUI\addSubmission(), beforeDeadline(), and ilExerciseSubmissionTableGUI\parseRow().
ilExAssignment::beforeDeadline | ( | ) |
Definition at line 1740 of file class.ilExAssignment.php.
References afterDeadlineStrict().
Referenced by ilExAssignmentGUI\addSchedule().
ilExAssignment::clearMultiFeedbackDirectory | ( | ) |
Clear multi feedback directory.
array |
Definition at line 1492 of file class.ilExAssignment.php.
References $ilUser, $lng, ilUtil\delDir(), getExerciseId(), and getId().
Referenced by saveMultiFeedbackFiles().
|
static |
Clone assignments of exercise.
Definition at line 960 of file class.ilExAssignment.php.
References $d, ilFSStorageExercise\create(), ilFSStorageExercise\getGlobalFeedbackPath(), ilFileSystemStorage\getPath(), and ilUtil\rCopy().
Referenced by ilObjExercise\cloneObject().
|
static |
Order assignments by deadline date.
Definition at line 1166 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilObjExerciseGUI\initEditCustomForm().
|
static |
Create member status record for a new assignment for all participants.
Definition at line 1291 of file class.ilExAssignment.php.
|
static |
Create member status record for a new participant for all assignments.
Definition at line 1271 of file class.ilExAssignment.php.
Referenced by ilExerciseMembers\assignMember().
ilExAssignment::delete | ( | ) |
Delete assignment.
Definition at line 895 of file class.ilExAssignment.php.
References $ilDB, deleteGlobalFeedbackFile(), getExerciseId(), and handleCalendarEntries().
ilExAssignment::deleteGlobalFeedbackFile | ( | ) |
Definition at line 1763 of file class.ilExAssignment.php.
References ilUtil\delDir(), and getGlobalFeedbackFileStoragePath().
Referenced by delete(), and ilExAssignmentEditorGUI\importFormToAssignment().
|
static |
Get assignments data of an exercise in an array.
Definition at line 914 of file class.ilExAssignment.php.
References $data, $ilDB, and array.
Referenced by ilAssignmentsTableGUI\__construct(), ilExerciseXMLParser\__construct(), ilExAssignmentTeam\getAdoptableTeamAssignments(), ilObjExerciseGUI\infoScreen(), ilExerciseManagementGUI\showParticipantObject(), and ilExerciseXMLWriter\start().
ilExAssignment::getDeadline | ( | ) |
Get deadline (timestamp)
Definition at line 175 of file class.ilExAssignment.php.
References $deadline.
Referenced by ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\getOverviewHeader(), getPersonalDeadline(), handleCalendarEntries(), hasActiveIDl(), save(), ilObjExercise\sendAssignment(), and update().
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().
ilExAssignment::getExtendedDeadline | ( | ) |
Get extended deadline (timestamp)
Definition at line 247 of file class.ilExAssignment.php.
References $deadline2.
Referenced by recalculateLateSubmissions(), save(), and update().
ilExAssignment::getFeedbackDate | ( | ) |
Get (global) feedback file availability date.
Definition at line 693 of file class.ilExAssignment.php.
References $feedback_date.
Referenced by ilExAssignmentGUI\addSubmission(), save(), and update().
ilExAssignment::getFeedbackFile | ( | ) |
Get (global) feedback file.
Definition at line 653 of file class.ilExAssignment.php.
References $feedback_file.
Referenced by ilExAssignmentGUI\addSubmission(), ilExAssignmentGUI\addSubmissionFeedback(), getGlobalFeedbackFilePath(), save(), and update().
ilExAssignment::getFiles | ( | ) |
Get files.
Definition at line 1026 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
Referenced by ilExAssignmentGUI\addFiles().
ilExAssignment::getGlobalFeedbackFilePath | ( | ) |
Definition at line 1780 of file class.ilExAssignment.php.
References $file, $path, getFeedbackFile(), and getGlobalFeedbackFileStoragePath().
ilExAssignment::getGlobalFeedbackFileStoragePath | ( | ) |
Definition at line 1756 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
Referenced by deleteGlobalFeedbackFile(), getGlobalFeedbackFilePath(), and handleGlobalFeedbackFileUpload().
ilExAssignment::getId | ( | ) |
Get assignment id.
Definition at line 115 of file class.ilExAssignment.php.
References $id.
Referenced by ilExPeerReview\__construct(), ilExAssignmentGUI\addSubmission(), ilExAssignmentGUI\addSubmissionFeedback(), clearMultiFeedbackDirectory(), ilExSubmission\downloadAllAssignmentFiles(), getFiles(), getGlobalFeedbackFileStoragePath(), getMemberListData(), getMemberStatus(), getMultiFeedbackFiles(), ilExAssignmentGUI\getOverviewBody(), getPersonalDeadline(), handleCalendarEntries(), ilExAssignmentEditorGUI\importFormToAssignment(), ilExerciseSubmissionTableGUI\parseRow(), recalculateLateSubmissions(), saveMultiFeedbackFiles(), ilObjExercise\sendAssignment(), sendMultiFeedbackStructureFile(), setIndividualDeadline(), update(), uploadAssignmentFiles(), and uploadMultiFeedbackFile().
ilExAssignment::getIndividualDeadlines | ( | ) |
|
static |
Definition at line 70 of file class.ilExAssignment.php.
References $data, $ilDB, and array.
Referenced by ilExGradesTableGUI\__construct(), ilCalendarScheduleFilterExercise\addCustomEvents(), ilExSubmission\deleteUser(), ilObjExercise\determinStatusOfUser(), ilObjExercise\exportGradesExcel(), ilExcCriteriaCatalogueTableGUI\getItems(), ilExerciseManagementGUI\membersObject(), ilExParticipantTableGUI\parseData(), and ilObjExerciseGUI\showOverviewObject().
ilExAssignment::getInstruction | ( | ) |
Get instruction.
Definition at line 267 of file class.ilExAssignment.php.
References $instruction.
Referenced by ilExAssignmentGUI\addInstructions(), save(), ilObjExercise\sendAssignment(), and update().
|
protected |
Get last/final personal deadline (of assignment)
Definition at line 218 of file class.ilExAssignment.php.
Referenced by afterDeadlineStrict().
ilExAssignment::getMandatory | ( | ) |
Get mandatory.
Definition at line 307 of file class.ilExAssignment.php.
References $mandatory.
Referenced by ilExAssignmentGUI\getOverviewHeader(), save(), and update().
ilExAssignment::getMaxFile | ( | ) |
Get max number of uploads.
Definition at line 737 of file class.ilExAssignment.php.
References $max_file.
Referenced by save(), and update().
ilExAssignment::getMemberListData | ( | ) |
get member list data
Definition at line 1221 of file class.ilExAssignment.php.
References $ilDB, array, and getId().
ilExAssignment::getMemberStatus | ( | $a_user_id = null | ) |
int | null | $a_user_id |
Definition at line 1794 of file class.ilExAssignment.php.
References $ilUser, and getId().
Referenced by ilExAssignmentGUI\addSubmissionFeedback(), ilExAssignmentGUI\getOverviewHeader(), ilObjExercise\processExerciseStatus(), saveMultiFeedbackFiles(), and ilObjExercise\sendAssignment().
ilExAssignment::getMultiFeedbackFiles | ( | $a_user_id = 0 | ) |
Get multi feedback files (of uploader)
int | $a_user_id | user id of uploader |
Definition at line 1419 of file class.ilExAssignment.php.
References $files, $ilUser, ilObjUser\_lookupName(), array, ilUtil\getDir(), getExerciseId(), and getId().
Referenced by saveMultiFeedbackFiles().
ilExAssignment::getOrderNr | ( | ) |
Get order nr.
Definition at line 327 of file class.ilExAssignment.php.
References $order_nr.
Referenced by save(), and update().
ilExAssignment::getPeerReview | ( | ) |
Get peer review status.
Definition at line 391 of file class.ilExAssignment.php.
References $peer.
Referenced by ilExAssignmentGUI\getOverviewHeader(), handleCalendarEntries(), hasReadOnlyIDl(), save(), and update().
ilExAssignment::getPeerReviewChars | ( | ) |
Get peer review minimum characters.
Definition at line 574 of file class.ilExAssignment.php.
References $peer_char.
Referenced by save(), and update().
ilExAssignment::getPeerReviewCriteriaCatalogue | ( | ) |
Get peer review criteria catalogue id.
Definition at line 597 of file class.ilExAssignment.php.
Referenced by save(), and update().
ilExAssignment::getPeerReviewCriteriaCatalogueItems | ( | ) |
Definition at line 602 of file class.ilExAssignment.php.
References $res, array, ilExcCriteria\getInstanceByType(), and ilExcCriteria\getInstancesByParentId().
ilExAssignment::getPeerReviewDeadline | ( | ) |
Get peer review deadline (timestamp)
Definition at line 451 of file class.ilExAssignment.php.
References $peer_dl.
Referenced by ilExAssignmentGUI\getOverviewHeader(), handleCalendarEntries(), save(), and update().
ilExAssignment::getPeerReviewMin | ( | ) |
Get peer review minimum.
Definition at line 411 of file class.ilExAssignment.php.
References $peer_min.
Referenced by save(), and update().
ilExAssignment::getPeerReviewSimpleUnlock | ( | ) |
Get peer review simple unlock.
Definition at line 431 of file class.ilExAssignment.php.
References $peer_unlock.
Referenced by save(), and update().
ilExAssignment::getPeerReviewValid | ( | ) |
Get peer review validatiob.
Definition at line 471 of file class.ilExAssignment.php.
References $peer_valid.
Referenced by save(), and update().
|
static |
Definition at line 1627 of file class.ilExAssignment.php.
References $ilDB, $res, $row, array, and time.
Referenced by ilExcCronFeedbackNotification\run().
ilExAssignment::getPersonalDeadline | ( | $a_user_id | ) |
Get individual deadline.
int | $a_user_id |
Definition at line 185 of file class.ilExAssignment.php.
References $ilDB, $row, getDeadline(), getId(), ilExAssignmentTeam\getTeamId(), and getType().
Referenced by ilExAssignmentGUI\addSchedule(), afterDeadline(), ilExAssignmentGUI\getOverviewHeader(), and recalculateLateSubmissions().
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().
ilExAssignment::getTeamTutor | ( | ) |
Get team management by tutor.
Definition at line 713 of file class.ilExAssignment.php.
References $team_tutor.
Referenced by save(), and update().
ilExAssignment::getTitle | ( | ) |
Get title.
Definition at line 287 of file class.ilExAssignment.php.
References $title.
Referenced by ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExSubmission\downloadAllAssignmentFiles(), ilExAssignmentGUI\getOverviewHeader(), handleCalendarEntries(), save(), ilObjExercise\sendAssignment(), sendMultiFeedbackStructureFile(), and update().
ilExAssignment::getType | ( | ) |
Get type.
Definition at line 355 of file class.ilExAssignment.php.
References $type.
Referenced by ilExSubmission\downloadAllAssignmentFiles(), getPersonalDeadline(), hasReadOnlyIDl(), save(), and update().
|
protected |
Handle calendar entries for deadline(s)
string | $a_event |
Definition at line 1573 of file class.ilExAssignment.php.
References array, getDeadline(), getExerciseId(), getId(), getPeerReview(), getPeerReviewDeadline(), getTitle(), IL_CAL_TRANSLATION_SYSTEM, and IL_CAL_UNIX.
Referenced by delete(), save(), and update().
ilExAssignment::handleGlobalFeedbackFileUpload | ( | array | $a_file | ) |
Definition at line 1768 of file class.ilExAssignment.php.
References $path, ilUtil\delDir(), getGlobalFeedbackFileStoragePath(), ilUtil\moveUploadedFile(), and setFeedbackFile().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
ilExAssignment::hasActiveIDl | ( | ) |
Definition at line 1909 of file class.ilExAssignment.php.
References getDeadline().
Referenced by ilExerciseSubmissionTableGUI\parseRow().
ilExAssignment::hasFeedbackCron | ( | ) |
Get (global) feedback file cron status.
Definition at line 673 of file class.ilExAssignment.php.
References $feedback_cron.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewFileUpload | ( | ) |
Get peer review file upload status.
Definition at line 531 of file class.ilExAssignment.php.
References $peer_file.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewPersonalized | ( | ) |
Get peer review personalized status.
Definition at line 551 of file class.ilExAssignment.php.
References $peer_personal.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewRating | ( | ) |
Get peer review rating status.
Definition at line 491 of file class.ilExAssignment.php.
References $peer_rating.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewText | ( | ) |
Get peer review text status.
Definition at line 511 of file class.ilExAssignment.php.
References $peer_text.
Referenced by save(), and update().
ilExAssignment::hasReadOnlyIDl | ( | ) |
Definition at line 1914 of file class.ilExAssignment.php.
References getPeerReview(), getType(), and TYPE_UPLOAD_TEAM.
Referenced by ilExerciseSubmissionTableGUI\parseRow().
ilExAssignment::hasTeam | ( | ) |
Definition at line 95 of file class.ilExAssignment.php.
Referenced by ilExSubmission\__construct(), ilExSubmission\downloadAllAssignmentFiles(), and ilExerciseSubmissionTableGUI\parseRow().
|
protected |
Import DB record.
array | $a_set |
Definition at line 767 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().
ilExAssignment::isValidType | ( | $a_value | ) |
Is given type valid?
int | $a_value |
Definition at line 366 of file class.ilExAssignment.php.
References array.
Referenced by setType().
|
staticprivate |
|
static |
Check if assignment is online.
int | $a_ass_id |
Definition at line 1055 of file class.ilExAssignment.php.
References $ilDB, $query, $res, and time.
Referenced by ilObjExerciseSubItemListGUI\isAssignmentVisible().
|
static |
Lookup excercise id for assignment id.
int | $a_ass_id |
Definition at line 1074 of file class.ilExAssignment.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjExerciseGUI\__construct().
|
static |
Select the maximum order nr for an exercise.
Definition at line 1036 of file class.ilExAssignment.php.
References $ilDB.
|
static |
Lookup title.
Definition at line 1106 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\confirmAssignmentsDeletionObject(), ilExSubmission\downloadMultipleFiles(), ilObjExerciseSubItemListGUI\getHTML(), ilExerciseManagementGUI\initMultiFeedbackForm(), and ilExerciseMailNotification\send().
|
static |
Lookup type.
Definition at line 1114 of file class.ilExAssignment.php.
|
static |
Check whether student has upload new files after tutor has set the exercise to another than notgraded.
Definition at line 1183 of file class.ilExAssignment.php.
References $ilDB, $lng, and array.
ilExAssignment::notStartedYet | ( | ) |
Definition at line 1746 of file class.ilExAssignment.php.
References time.
Referenced by ilExAssignmentGUI\addInstructions(), ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\getOverviewBody(), and ilExAssignmentGUI\getOverviewHeader().
|
static |
Order assignments by deadline date.
Definition at line 1144 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilExAssignmentEditorGUI\orderAssignmentsByDeadlineObject().
ilExAssignment::read | ( | ) |
Read from db.
Definition at line 745 of file class.ilExAssignment.php.
References $ilDB, and initFromDB().
Referenced by __construct().
ilExAssignment::recalculateLateSubmissions | ( | ) |
Definition at line 1810 of file class.ilExAssignment.php.
References $deadline, $file, $id, $ilDB, ilExSubmission\getAllAssignmentFiles(), getExtendedDeadline(), getId(), getPersonalDeadline(), IL_CAL_DATETIME, and IL_CAL_UNIX.
ilExAssignment::save | ( | ) |
Save assignment.
Definition at line 800 of file class.ilExAssignment.php.
References $ilDB, array, 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().
ilExAssignment::saveAssOrderOfExercise | ( | $a_ex_id, | |
$a_order | |||
) |
Save ordering of all assignments of an exercise.
Definition at line 1122 of file class.ilExAssignment.php.
References $ilDB, $t, and array.
Referenced by ilExAssignmentEditorGUI\saveAssignmentOrderObject().
ilExAssignment::saveMultiFeedbackFiles | ( | $a_files, | |
ilObjExercise | $a_exc | ||
) |
Save multi feedback files.
Definition at line 1508 of file class.ilExAssignment.php.
References $member_status, $target, array, clearMultiFeedbackDirectory(), getExerciseId(), getId(), ilObject\getId(), getMemberStatus(), getMultiFeedbackFiles(), and ilObjExercise\sendFeedbackFileNotification().
|
static |
Definition at line 1651 of file class.ilExAssignment.php.
References $ilDB, $row, ilExerciseMembers\_getMembers(), and array.
Referenced by ilExAssignmentMemberStatus\postUpdateReturned(), and ilExcCronFeedbackNotification\run().
ilExAssignment::sendMultiFeedbackStructureFile | ( | ) |
Create member status record for a new assignment for all participants.
Definition at line 1330 of file class.ilExAssignment.php.
References $ilDB, ilObjUser\_lookupName(), ilUtil\deliverFile(), ilUtil\getASCIIFilename(), getExerciseId(), getId(), getTitle(), ilUtil\ilTempnam(), ilUtil\makeDir(), and ilUtil\zip().
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().
ilExAssignment::setExerciseId | ( | $a_val | ) |
Set exercise id.
int | exercise id |
Definition at line 125 of file class.ilExAssignment.php.
Referenced by initFromDB().
ilExAssignment::setExtendedDeadline | ( | $a_val | ) |
Set extended deadline (timestamp)
int |
Definition at line 233 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setFeedbackCron | ( | $a_value | ) |
Toggle (global) feedback file cron.
bool | $a_value |
Definition at line 663 of file class.ilExAssignment.php.
References string.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setFeedbackDate | ( | $a_value | ) |
Set (global) feedback file availability date.
int | $a_value |
Definition at line 683 of file class.ilExAssignment.php.
Referenced by __construct(), ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setFeedbackFile | ( | $a_value | ) |
Set (global) feedback file.
string | $a_value |
Definition at line 643 of file class.ilExAssignment.php.
References string.
Referenced by handleGlobalFeedbackFileUpload(), ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
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().
ilExAssignment::setIndividualDeadline | ( | $id, | |
ilDateTime | $date | ||
) |
Definition at line 1865 of file class.ilExAssignment.php.
References $id, $ilDB, array, ilDateTime\get(), getId(), and IL_CAL_UNIX.
ilExAssignment::setInstruction | ( | $a_val | ) |
Set instruction.
string | instruction |
Definition at line 257 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMandatory | ( | $a_val | ) |
Set mandatory.
int | mandatory |
Definition at line 297 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMaxFile | ( | $a_value | ) |
Set max number of uploads.
int | $a_value |
Definition at line 723 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setOrderNr | ( | $a_val | ) |
Set order nr.
int | order nr |
Definition at line 317 of file class.ilExAssignment.php.
Referenced by initFromDB(), and save().
ilExAssignment::setPeerReview | ( | $a_value | ) |
Toggle peer review.
bool | $a_value |
Definition at line 381 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), initFromDB(), and setType().
ilExAssignment::setPeerReviewChars | ( | $a_value | ) |
Set peer review minimum characters.
int | $a_value |
Definition at line 561 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewCriteriaCatalogue | ( | $a_value | ) |
Set peer review criteria catalogue id.
int | $a_value |
Definition at line 584 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewDeadline | ( | $a_val | ) |
Set peer review deadline (timestamp)
int | deadline (timestamp) |
Definition at line 441 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewFileUpload | ( | $a_val | ) |
Set peer review file upload.
bool |
Definition at line 521 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewMin | ( | $a_value | ) |
Set peer review minimum.
int | $a_value |
Definition at line 401 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewPersonalized | ( | $a_val | ) |
Set peer review personalized.
bool |
Definition at line 541 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewRating | ( | $a_val | ) |
Set peer review rating.
bool |
Definition at line 481 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewSimpleUnlock | ( | $a_value | ) |
Set peer review simple unlock.
bool | $a_value |
Definition at line 421 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewText | ( | $a_val | ) |
Set peer review text.
bool |
Definition at line 501 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
ilExAssignment::setPeerReviewValid | ( | $a_value | ) |
Set peer review validation.
int | $a_value |
Definition at line 461 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), ilExAssignmentEditorGUI\importPeerReviewFormToAssignment(), and initFromDB().
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().
ilExAssignment::setTeamTutor | ( | $a_value | ) |
Set team management by tutor.
bool | $a_value |
Definition at line 703 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setTitle | ( | $a_val | ) |
Set title.
string | title |
Definition at line 277 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setType | ( | $a_value | ) |
Set type.
int | $a_value |
Definition at line 337 of file class.ilExAssignment.php.
References isValidType(), and setPeerReview().
Referenced by __construct(), and initFromDB().
ilExAssignment::update | ( | ) |
Update.
Definition at line 851 of file class.ilExAssignment.php.
References $ilDB, array, 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().
ilExAssignment::uploadAssignmentFiles | ( | $a_files | ) |
Upload assignment files (from creation form)
Definition at line 1314 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
Referenced by ilExAssignmentEditorGUI\importFormToAssignment().
ilExAssignment::uploadMultiFeedbackFile | ( | $a_file | ) |
Upload multi feedback file.
array |
Definition at line 1379 of file class.ilExAssignment.php.
References $ilUser, $lng, ilUtil\delDir(), ilUtil\getDir(), getExerciseId(), getId(), ilUtil\moveUploadedFile(), and ilUtil\unzip().
|
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(), recalculateLateSubmissions(), and setIndividualDeadline().
|
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.
Referenced by saveMultiFeedbackFiles().
|
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\importPeerReviewFormToAssignment(), 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\getFiles(), 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\getFiles(), ilExSubmission\getSubmissionType(), ilExAssignmentEditorGUI\getTypeDropdown(), ilExAssignmentEditorGUI\handleDisabledFields(), hasReadOnlyIDl(), ilExAssignmentEditorGUI\initAssignmentForm(), ilExerciseManagementGUI\membersObject(), ilExAssignmentEditorGUI\saveAssignmentObject(), and ilExAssignmentEditorGUI\setAssignmentHeader().