ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
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... | |
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().
ilExAssignment::afterDeadline | ( | ) |
Definition at line 1631 of file class.ilExAssignment.php.
References $deadline.
Referenced by ilExAssignmentGUI\addPublicSubmissions(), and afterDeadlineStrict().
ilExAssignment::afterDeadlineStrict | ( | ) |
Definition at line 1638 of file class.ilExAssignment.php.
References $deadline, and afterDeadline().
Referenced by ilExAssignmentGUI\addSubmission(), and beforeDeadline().
ilExAssignment::beforeDeadline | ( | ) |
Definition at line 1646 of file class.ilExAssignment.php.
References afterDeadlineStrict().
Referenced by ilExAssignmentGUI\addSchedule().
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().
ilExAssignment::cloneAssignmentsOfExercise | ( | $a_old_exc_id, | |
$a_new_exc_id, | |||
array | $a_crit_cat_map | ||
) |
Clone assignments of exercise.
Definition at line 912 of file class.ilExAssignment.php.
References $d, ilFSStorageExercise\create(), ilFSStorageExercise\getGlobalFeedbackPath(), ilFileSystemStorage\getPath(), and ilUtil\rCopy().
Referenced by ilObjExercise\cloneObject().
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().
|
static |
Create member status record for a new assignment for all participants.
Definition at line 1223 of file class.ilExAssignment.php.
References $ilDB.
|
static |
Create member status record for a new participant for all assignments.
Definition at line 1203 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilExerciseMembers\assignMember().
ilExAssignment::delete | ( | ) |
Delete assignment.
Definition at line 847 of file class.ilExAssignment.php.
References $ilDB, deleteGlobalFeedbackFile(), getExerciseId(), and handleCalendarEntries().
ilExAssignment::deleteGlobalFeedbackFile | ( | ) |
Definition at line 1669 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 866 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilExAssignmentTeam\getAdoptableTeamAssignments(), ilExerciseXMLParser\ilExerciseXMLParser(), 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(), handleCalendarEntries(), recalculateLateSubmissions(), 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 199 of file class.ilExAssignment.php.
References $deadline2.
Referenced by recalculateLateSubmissions(), save(), and update().
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().
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().
ilExAssignment::getFiles | ( | ) |
Get files.
Definition at line 978 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
Referenced by ilExAssignmentGUI\addFiles().
ilExAssignment::getGlobalFeedbackFilePath | ( | ) |
Definition at line 1686 of file class.ilExAssignment.php.
References $file, $path, getFeedbackFile(), and getGlobalFeedbackFileStoragePath().
ilExAssignment::getGlobalFeedbackFileStoragePath | ( | ) |
Definition at line 1662 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(), handleCalendarEntries(), ilExAssignmentEditorGUI\importFormToAssignment(), recalculateLateSubmissions(), saveMultiFeedbackFiles(), ilObjExercise\sendAssignment(), sendMultiFeedbackStructureFile(), update(), uploadAssignmentFiles(), and uploadMultiFeedbackFile().
|
static |
Definition at line 70 of file class.ilExAssignment.php.
Referenced by ilExGradesTableGUI\__construct(), ilExSubmission\deleteUser(), ilObjExercise\determinStatusOfUser(), ilObjExercise\exportGradesExcel(), ilExcCriteriaCatalogueTableGUI\getItems(), ilExerciseManagementGUI\membersObject(), and ilObjExerciseGUI\showOverviewObject().
ilExAssignment::getInstruction | ( | ) |
Get instruction.
Definition at line 219 of file class.ilExAssignment.php.
References $instruction.
Referenced by ilExAssignmentGUI\addInstructions(), save(), ilObjExercise\sendAssignment(), and update().
ilExAssignment::getMandatory | ( | ) |
Get mandatory.
Definition at line 259 of file class.ilExAssignment.php.
References $mandatory.
Referenced by ilExAssignmentGUI\getOverviewHeader(), save(), and update().
ilExAssignment::getMaxFile | ( | ) |
Get max number of uploads.
Definition at line 689 of file class.ilExAssignment.php.
References $max_file.
Referenced by save(), and update().
ilExAssignment::getMemberListData | ( | ) |
get member list data
Definition at line 1155 of file class.ilExAssignment.php.
References $ilDB, and getId().
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().
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().
ilExAssignment::getOrderNr | ( | ) |
Get order nr.
Definition at line 279 of file class.ilExAssignment.php.
References $order_nr.
Referenced by save(), and update().
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().
ilExAssignment::getPeerReviewChars | ( | ) |
Get peer review minimum characters.
Definition at line 526 of file class.ilExAssignment.php.
References $peer_char.
Referenced by save(), and update().
ilExAssignment::getPeerReviewCriteriaCatalogue | ( | ) |
Get peer review criteria catalogue id.
Definition at line 549 of file class.ilExAssignment.php.
Referenced by save(), and update().
ilExAssignment::getPeerReviewCriteriaCatalogueItems | ( | ) |
Definition at line 554 of file class.ilExAssignment.php.
References $res, ilExcCriteria\getInstanceByType(), and ilExcCriteria\getInstancesByParentId().
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().
ilExAssignment::getPeerReviewMin | ( | ) |
Get peer review minimum.
Definition at line 363 of file class.ilExAssignment.php.
References $peer_min.
Referenced by save(), and update().
ilExAssignment::getPeerReviewSimpleUnlock | ( | ) |
Get peer review simple unlock.
Definition at line 383 of file class.ilExAssignment.php.
References $peer_unlock.
Referenced by save(), and update().
ilExAssignment::getPeerReviewValid | ( | ) |
Get peer review validatiob.
Definition at line 423 of file class.ilExAssignment.php.
References $peer_valid.
Referenced by save(), and update().
|
static |
Definition at line 1552 of file class.ilExAssignment.php.
References $ilDB, $res, and $row.
Referenced by ilExcCronFeedbackNotification\run().
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 665 of file class.ilExAssignment.php.
References $team_tutor.
Referenced by save(), and update().
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().
ilExAssignment::getType | ( | ) |
Get type.
Definition at line 307 of file class.ilExAssignment.php.
References $type.
Referenced by ilExSubmission\downloadAllAssignmentFiles(), save(), and update().
|
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().
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().
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().
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().
ilExAssignment::hasPeerReviewPersonalized | ( | ) |
Get peer review personalized status.
Definition at line 503 of file class.ilExAssignment.php.
References $peer_personal.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewRating | ( | ) |
Get peer review rating status.
Definition at line 443 of file class.ilExAssignment.php.
References $peer_rating.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewText | ( | ) |
Get peer review text status.
Definition at line 463 of file class.ilExAssignment.php.
References $peer_text.
Referenced by save(), and update().
ilExAssignment::hasTeam | ( | ) |
Definition at line 95 of file class.ilExAssignment.php.
Referenced by ilExSubmission\__construct(), and ilExSubmission\downloadAllAssignmentFiles().
|
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().
ilExAssignment::isValidType | ( | $a_value | ) |
Is given type valid?
int | $a_value |
Definition at line 318 of file class.ilExAssignment.php.
Referenced by setType().
|
staticprivate |
|
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().
|
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.
Referenced by ilExAssignmentEditorGUI\confirmAssignmentsDeletionObject(), ilExSubmission\downloadMultipleFiles(), ilObjExerciseSubItemListGUI\getHTML(), ilExerciseManagementGUI\initMultiFeedbackForm(), and ilExerciseMailNotification\send().
|
static |
Lookup type.
Definition at line 1048 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 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().
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().
ilExAssignment::read | ( | ) |
Read from db.
Definition at line 697 of file class.ilExAssignment.php.
References $ilDB, and initFromDB().
Referenced by __construct().
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.
ilExAssignment::save | ( | ) |
Save assignment.
Definition at line 752 of file class.ilExAssignment.php.
References $ilDB, 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 1056 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\saveAssignmentOrderObject().
ilExAssignment::saveMultiFeedbackFiles | ( | $a_files, | |
ilObjExercise | $a_exc | ||
) |
Save multi feedback files.
Definition at line 1440 of file class.ilExAssignment.php.
References clearMultiFeedbackDirectory(), getExerciseId(), getId(), ilObject\getId(), getMultiFeedbackFiles(), and ilObjExercise\sendFeedbackFileNotification().
|
static |
Definition at line 1576 of file class.ilExAssignment.php.
References $ilDB, $row, and ilExerciseMembers\_getMembers().
Referenced by ilExAssignmentMemberStatus\postUpdateReturned(), and ilExcCronFeedbackNotification\run().
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().
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 185 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 615 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
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().
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().
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::setInstruction | ( | $a_val | ) |
Set instruction.
string | instruction |
Definition at line 209 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setMandatory | ( | $a_val | ) |
Set mandatory.
int | mandatory |
Definition at line 249 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 675 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setOrderNr | ( | $a_val | ) |
Set order nr.
int | order nr |
Definition at line 269 of file class.ilExAssignment.php.
Referenced by initFromDB(), and save().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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 655 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
ilExAssignment::setTitle | ( | $a_val | ) |
Set title.
string | title |
Definition at line 229 of file class.ilExAssignment.php.
Referenced by ilExAssignmentEditorGUI\importFormToAssignment(), and initFromDB().
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().
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().
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().
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().
|
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(), ilExAssignmentEditorGUI\initAssignmentForm(), ilExerciseManagementGUI\membersObject(), ilExAssignmentEditorGUI\saveAssignmentObject(), and ilExAssignmentEditorGUI\setAssignmentHeader().