ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Exercise assignment. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor. More... | |
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... | |
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... | |
setPeerReviewDeadline ($a_val) | |
Set peer review deadline (timestamp) More... | |
getPeerReviewDeadline () | |
Get peer review deadline (timestamp) 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... | |
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... | |
read () | |
Read from db. More... | |
save () | |
Save assignment. More... | |
update () | |
Update. More... | |
delete () | |
Delete assignment. More... | |
deleteFeedbackFile () | |
handleFeedbackFileUpload (array $a_file) | |
getFeedbackFilePath () | |
cloneAssignmentsOfExercise ($a_old_exc_id, $a_new_exc_id) | |
Clone assignments of exercise. 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... | |
lookupCommentForUser ($a_ass_id, $a_user_id) | |
Lookup comment for the user. More... | |
updateCommentForUser ($a_ass_id, $a_user_id, $a_value) | |
Update comment. More... | |
lookupMarkOfUser ($a_ass_id, $a_user_id) | |
Lookup user mark. More... | |
updateMarkOfUser ($a_ass_id, $a_user_id, $a_value) | |
Update mark. More... | |
lookupStatusOfUser ($a_ass_id, $a_user_id) | |
was: getStatusByMember More... | |
updateStatusOfUser ($a_ass_id, $a_user_id, $a_status) | |
was: setStatusForMember($a_member_id,$a_status) More... | |
updateStatusTimeOfUser ($a_ass_id, $a_user_id) | |
was: updateStatusTimeForMember($a_user_id) More... | |
lookupStatusSentOfUser ($a_ass_id, $a_user_id) | |
was: getStatusSentByMember($a_member_id) More... | |
updateStatusSentForUser ($a_ass_id, $a_user_id, $a_status) | |
was: setStatusSentForMember($a_member_id,$a_status) More... | |
lookupStatusReturnedOfUser ($a_ass_id, $a_user_id) | |
was: getStatusReturnedByMember($a_member_id) More... | |
updateStatusReturnedForUser ($a_ass_id, $a_user_id, $a_status) | |
was: setStatusReturnedForMember($a_member_id,$a_status) More... | |
lookupStatusFeedbackOfUser ($a_ass_id, $a_user_id) | |
was: getStatusFeedbackByMember($a_member_id) More... | |
updateStatusFeedbackForUser ($a_ass_id, $a_user_id, $a_status) | |
was: setStatusFeedbackForMember($a_member_id,$a_status) More... | |
lookupNoticeOfUser ($a_ass_id, $a_user_id) | |
was: getNoticeByMember($a_member_id) More... | |
hasReturned ($a_ass_id, $a_user_id) | |
was: hasReturned($a_member_id) More... | |
getAllDeliveredFiles ($a_exc_id, $a_ass_id) | |
was: getAllDeliveredFiles() More... | |
getDeliveredFiles ($a_exc_id, $a_ass_id, $a_user_id, $a_filter_empty_filename=false) | |
was: getDeliveredFiles($a_member_id) More... | |
deleteDeliveredFiles ($a_exc_id, $a_ass_id, $file_id_array, $a_user_id) | |
was: deleteDeliveredFiles($file_id_array, $a_member_id) More... | |
deliverReturnedFiles ($a_exc_id, $a_ass_id, $a_user_id, $a_only_new=false, $a_peer_review_mask_filename=false) | |
was: deliverReturnedFiles($a_member_id, $a_only_new = false) More... | |
updateTutorDownloadTime ($a_exc_id, $a_ass_id, $a_user_id) | |
was: updateTutorDownloadTime($member_id) More... | |
downloadSelectedFiles ($a_exc_id, $a_ass_id, $a_user_id, $array_file_id) | |
was: downloadSelectedFiles($array_file_id,$a_user_id)? More... | |
downloadSingleFile ($a_exc_id, $a_ass_id, $a_user_id, $filename, $filetitle) | |
was: downloadSingleFile($filename, $filetitle) More... | |
downloadMultipleFiles ($a_exc_id, $a_ass_id, $array_filenames, $a_user_id, $a_multi_user=false) | |
was: downloadMultipleFiles($array_filenames, $pathname, $a_member_id = 0) More... | |
downloadAllDeliveredFiles ($a_exc_id, $a_ass_id, $members) | |
Download all submitted files of an assignment (all user) More... | |
updateNoticeForUser ($a_ass_id, $a_user_id, $a_notice) | |
was: setNoticeForMember($a_member_id,$a_notice) More... | |
_getReturned ($a_ass_id) | |
was: _getReturned($a_obj_id) More... | |
getMemberListData ($a_exc_id, $a_ass_id) | |
get member list data More... | |
uploadAssignmentFiles ($a_files) | |
Upload assignment files (from creation form) More... | |
getTeamId ($a_user_id, $a_create_on_demand=false) | |
Get team id for member id. More... | |
getTeamMembers ($a_team_id) | |
Get members of assignment team. More... | |
getMembersOfAllTeams () | |
Get members for all teams of assignment. More... | |
addTeamMember ($a_team_id, $a_user_id, $a_exc_ref_id=null) | |
Add new member to team. More... | |
removeTeamMember ($a_team_id, $a_user_id, $a_exc_ref_id) | |
Remove member from team. More... | |
sendNotification ($a_exc_ref_id, $a_user_id, $a_action) | |
Send notification about team status. More... | |
hasPeerReviewGroups () | |
resetPeerReviewFileUploads () | |
resetPeerReviews () | |
validatePeerReviewGroups () | |
getPeerReviewsByGiver ($a_user_id) | |
getPeerReviewsByPeerId ($a_user_id, $a_only_valid=false) | |
getAllPeerReviews ($a_validate=true) | |
hasPeerReviewAccess ($a_peer_id) | |
updatePeerReviewTimestamp ($a_peer_id) | |
getPeerUploadFiles ($a_peer_id, $a_giver_id) | |
updatePeerReviewComment ($a_peer_id, $a_comment) | |
sendFeedbackNotifications ($a_ass_id, $a_user_id=null) | |
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... | |
adoptTeams ($a_source_ass_id, $a_user_id=null, $a_exc_ref_id=null) | |
Static Public Member Functions | |
static | getAssignmentDataOfExercise ($a_exc_id) |
Get assignments data of an exercise in an array. More... | |
static | getFiles ($a_exc_id, $a_ass_id) |
Get files. 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 | lookupSentTimeOfUser ($a_ass_id, $a_user_id) |
Get time when exercise has been sent per e-mail to user. More... | |
static | lookupFeedbackTimeOfUser ($a_ass_id, $a_user_id) |
Get time when feedback mail has been sent. More... | |
static | lookupStatusTimeOfUser ($a_ass_id, $a_user_id) |
Get status time. More... | |
static | deleteAllDeliveredFilesOfUser ($a_exc_id, $a_user_id) |
Delete all delivered files of user. More... | |
static | getLastSubmission ($a_ass_id, $a_user_id) |
Get the date of the last submission of a user for the assignment. More... | |
static | lookupAnyExerciseSent ($a_exc_id, $a_ass_id) |
Check whether exercise has been sent to any student per mail. 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 | lookupNewFiles ($ass_id, $member_id) |
Check how much files have been uploaded by the learner after the last download of the tutor. 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 | getTeamMembersByAssignmentId ($a_ass_id, $a_user_id) |
Find team members by assignment and team member. More... | |
static | getTeamIdByAssignment ($a_ass_id, $a_user_id) |
Find team by assignment. More... | |
static | getAssignmentTeamMap ($a_ass_id) |
Get team structure for assignment. More... | |
static | writeTeamLog ($a_team_id, $a_action, $a_details=null) |
Add entry to team log. More... | |
static | getTeamLog ($a_team_id) |
Get all log entries for team. More... | |
static | getDownloadedFilesInfoForTableGUIS ($a_parent_obj, $a_exercise_id, $a_ass_type, $a_ass_id, $a_user_id, $a_parent_cmd=null) |
static | countGivenFeedback ($a_ass_id) |
static | getNumberOfMissingFeedbacks ($a_ass_id, $a_min) |
static | getPendingFeedbackNotifications () |
static | getAdoptableTeamAssignments ($a_exercise_id, $a_exclude_ass_id=null, $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 | TEAM_LOG_CREATE_TEAM = 1 |
const | TEAM_LOG_ADD_MEMBER = 2 |
const | TEAM_LOG_REMOVE_MEMBER = 3 |
const | TEAM_LOG_ADD_FILE = 4 |
const | TEAM_LOG_REMOVE_FILE = 5 |
const | FEEDBACK_DATE_DEADLINE = 1 |
const | FEEDBACK_DATE_SUBMISSION = 2 |
Protected Member Functions | |
getValidPeerReviewUsers () | |
initPeerReviews () | |
handleCalendarEntries ($a_event) | |
Handle calendar entries for deadline(s) More... | |
Static Protected Member Functions | |
static | validatePeerReview (array $a_data, $a_rating=null) |
Protected Attributes | |
$id | |
$exc_id | |
$type | |
$start_time | |
$deadline | |
$instruction | |
$title | |
$mandatory | |
$order_nr | |
$peer | |
$peer_min | |
$peer_dl | |
$peer_file | |
$peer_personal | |
$feedback_file | |
$feedback_cron | |
$feedback_date | |
Private Member Functions | |
lookupAssMemberField ($a_ass_id, $a_user_id, $a_field) | |
Lookup a field value of ass/member table. More... | |
updateAssMemberField ($a_ass_id, $a_user_id, $a_field, $a_value, $a_type) | |
Update a field value of ass/member table. More... | |
Static Private Member Functions | |
static | lookup ($a_id, $a_field) |
Private lookup. More... | |
ilExAssignment::__construct | ( | $a_id = 0 | ) |
Constructor.
Definition at line 49 of file class.ilExAssignment.php.
References read(), setFeedbackDate(), setId(), and setType().
ilExAssignment::_getReturned | ( | $a_ass_id | ) |
was: _getReturned($a_obj_id)
Definition at line 1824 of file class.ilExAssignment.php.
ilExAssignment::addTeamMember | ( | $a_team_id, | |
$a_user_id, | |||
$a_exc_ref_id = null |
|||
) |
Add new member to team.
int | $a_team_id | |
int | $a_user_id | |
int | $a_exc_ref_id |
Definition at line 2171 of file class.ilExAssignment.php.
References $ilDB, ilObjUser\_lookupFullname(), getId(), getTeamMembers(), sendNotification(), and writeTeamLog().
Referenced by adoptTeams().
ilExAssignment::adoptTeams | ( | $a_source_ass_id, | |
$a_user_id = null , |
|||
$a_exc_ref_id = null |
|||
) |
Definition at line 3386 of file class.ilExAssignment.php.
References addTeamMember(), getAssignmentTeamMap(), getId(), getTeamId(), and sendNotification().
ilExAssignment::clearMultiFeedbackDirectory | ( | ) |
Clear multi feedback directory.
array |
Definition at line 3183 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 | |||
) |
Clone assignments of exercise.
return
Definition at line 631 of file class.ilExAssignment.php.
References $d, getAssignmentDataOfExercise(), and ilUtil\rCopy().
Referenced by ilObjExercise\cloneObject().
|
static |
Definition at line 2893 of file class.ilExAssignment.php.
References $ilDB, $ilUser, and $row.
Referenced by ilExAssignmentListTextTableGUI\__construct().
ilExAssignment::countMandatory | ( | $a_ex_id | ) |
Order assignments by deadline date.
Definition at line 794 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 2044 of file class.ilExAssignment.php.
References $ilDB.
Referenced by save().
|
static |
Create member status record for a new participant for all assignments.
Definition at line 2024 of file class.ilExAssignment.php.
References $ilDB, and getAssignmentDataOfExercise().
Referenced by ilExerciseMembers\assignMember().
ilExAssignment::delete | ( | ) |
Delete assignment.
Definition at line 536 of file class.ilExAssignment.php.
References $ilDB, deleteFeedbackFile(), getExerciseId(), and handleCalendarEntries().
|
static |
Delete all delivered files of user.
int | $a_exc_id | excercise id |
int | $a_user_id | user id |
Definition at line 1270 of file class.ilExAssignment.php.
References $d, $filename, $ilDB, getTeamMembersByAssignmentId(), TYPE_UPLOAD_TEAM, and updateStatusOfUser().
Referenced by ilObjExercise\deleteAllDeliveredFilesOfUser().
ilExAssignment::deleteDeliveredFiles | ( | $a_exc_id, | |
$a_ass_id, | |||
$file_id_array, | |||
$a_user_id | |||
) |
was: deleteDeliveredFiles($file_id_array, $a_member_id)
Definition at line 1202 of file class.ilExAssignment.php.
References $filename, $ilDB, $result, $row, getTeamIdByAssignment(), getTeamMembersByAssignmentId(), TEAM_LOG_REMOVE_FILE, and writeTeamLog().
Referenced by ilObjExercise\deleteDeliveredFiles(), and ilObjExerciseGUI\removeExistingSubmissions().
ilExAssignment::deleteFeedbackFile | ( | ) |
Definition at line 551 of file class.ilExAssignment.php.
References $path, ilUtil\delDir(), getExerciseId(), and getId().
Referenced by delete().
ilExAssignment::deliverReturnedFiles | ( | $a_exc_id, | |
$a_ass_id, | |||
$a_user_id, | |||
$a_only_new = false , |
|||
$a_peer_review_mask_filename = false |
|||
) |
was: deliverReturnedFiles($a_member_id, $a_only_new = false)
Definition at line 1349 of file class.ilExAssignment.php.
References $ilDB, $ilUser, $query, $result, $row, ilObjUser\_lookupName(), ilObject\_lookupTitle(), downloadMultipleFiles(), downloadSingleFile(), getTeamMembersByAssignmentId(), lookupTitle(), TYPE_BLOG, TYPE_PORTFOLIO, and updateTutorDownloadTime().
Referenced by ilObjExerciseGUI\downloadNewReturnedObject(), and ilObjExerciseGUI\downloadReturnedObject().
ilExAssignment::downloadAllDeliveredFiles | ( | $a_exc_id, | |
$a_ass_id, | |||
$members | |||
) |
Download all submitted files of an assignment (all user)
$members | array of user names, key is user id |
Definition at line 1666 of file class.ilExAssignment.php.
References $id, $lng, ilObjUser\_lookupName(), ilUtil\delDir(), ilUtil\deliverFile(), ilUtil\dirsize(), ilUtil\escapeShellArg(), ilUtil\getASCIIFilename(), ilUtil\ilTempnam(), lookupTitle(), lookupType(), ilUtil\makeDir(), TYPE_BLOG, TYPE_PORTFOLIO, and ilUtil\unzip().
Referenced by ilObjExerciseGUI\downloadAllObject().
ilExAssignment::downloadMultipleFiles | ( | $a_exc_id, | |
$a_ass_id, | |||
$array_filenames, | |||
$a_user_id, | |||
$a_multi_user = false |
|||
) |
was: downloadMultipleFiles($array_filenames, $pathname, $a_member_id = 0)
Definition at line 1568 of file class.ilExAssignment.php.
References $filename, ilObjUser\_lookupName(), ilUtil\delDir(), ilUtil\deliverFile(), ilUtil\escapeShellArg(), exit, ilUtil\getASCIIFilename(), ilUtil\ilTempnam(), lookupTitle(), and ilUtil\makeDir().
Referenced by deliverReturnedFiles(), and downloadSelectedFiles().
ilExAssignment::downloadSelectedFiles | ( | $a_exc_id, | |
$a_ass_id, | |||
$a_user_id, | |||
$array_file_id | |||
) |
was: downloadSelectedFiles($array_file_id,$a_user_id)?
Definition at line 1488 of file class.ilExAssignment.php.
References $ilDB, $result, $row, ilObjUser\_lookupName(), ilObject\_lookupTitle(), downloadMultipleFiles(), downloadSingleFile(), getTeamMembersByAssignmentId(), TYPE_BLOG, and TYPE_PORTFOLIO.
Referenced by ilObjExerciseGUI\downloadObject().
ilExAssignment::downloadSingleFile | ( | $a_exc_id, | |
$a_ass_id, | |||
$a_user_id, | |||
$filename, | |||
$filetitle | |||
) |
was: downloadSingleFile($filename, $filetitle)
Definition at line 1552 of file class.ilExAssignment.php.
References $filename, and ilUtil\deliverFile().
Referenced by deliverReturnedFiles(), and downloadSelectedFiles().
|
static |
Definition at line 3328 of file class.ilExAssignment.php.
References $data, $res, $row, getAssignmentDataOfExercise(), getAssignmentTeamMap(), ilUtil\sortArray(), and TYPE_UPLOAD_TEAM.
Referenced by ilObjExerciseGUI\adoptTeamAssignmentsFormObject(), ilObjExerciseGUI\createTeamObject(), and ilObjExerciseGUI\saveAssignmentObject().
ilExAssignment::getAllDeliveredFiles | ( | $a_exc_id, | |
$a_ass_id | |||
) |
Definition at line 1130 of file class.ilExAssignment.php.
References $ilDB, $query, $res, and $row.
Referenced by ilObjExerciseGUI\handleDisabledAssignmentFields(), ilObjExerciseGUI\membersObject(), and ilExAssignmentListTextTableGUI\parse().
ilExAssignment::getAllPeerReviews | ( | $a_validate = true | ) |
Definition at line 2816 of file class.ilExAssignment.php.
References $ilDB, $res, $row, getId(), and ilRating\getRatingForUserAndObject().
Referenced by resetPeerReviews(), and validatePeerReviewGroups().
|
static |
Get assignments data of an exercise in an array.
Definition at line 588 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExParticipantTableGUI\__construct(), cloneAssignmentsOfExercise(), createNewUserRecords(), ilObjExercise\determinStatusOfUser(), ilObjExercise\exportGradesExcel(), getAdoptableTeamAssignments(), ilExerciseXMLParser\ilExerciseXMLParser(), ilObjExerciseGUI\infoScreen(), ilObjExerciseGUI\membersObject(), ilObjExerciseGUI\showOverviewObject(), ilObjExerciseGUI\showParticipantObject(), and ilExerciseXMLWriter\start().
|
static |
Get team structure for assignment.
int | $a_ass_id |
Definition at line 2278 of file class.ilExAssignment.php.
Referenced by ilExerciseMemberTableGUI\__construct(), adoptTeams(), ilObjExerciseGUI\createTeamObject(), and getAdoptableTeamAssignments().
ilExAssignment::getDeadline | ( | ) |
Get deadline (timestamp)
Definition at line 136 of file class.ilExAssignment.php.
References $deadline.
Referenced by handleCalendarEntries(), ilObjExerciseGUI\handleDisabledAssignmentFields(), initPeerReviews(), save(), and update().
ilExAssignment::getDeliveredFiles | ( | $a_exc_id, | |
$a_ass_id, | |||
$a_user_id, | |||
$a_filter_empty_filename = false |
|||
) |
was: getDeliveredFiles($a_member_id)
Definition at line 1157 of file class.ilExAssignment.php.
References $ilDB, $result, $row, and getTeamMembersByAssignmentId().
Referenced by ilObjExerciseGUI\confirmDeleteDeliveredObject(), ilObjExerciseGUI\confirmRemoveTeamMemberObject(), ilObjExercise\deleteDeliveredFiles(), ilObjBlogGUI\downloadExcSubFile(), ilObjPortfolioGUI\downloadExcSubFile(), ilObjExerciseGUI\editAssignmentTextObject(), ilPublicSubmissionsTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\getDeliveredFiles(), getDownloadedFilesInfoForTableGUIS(), ilObjBlogGUI\getExerciseInfo(), ilObjPortfolioGUI\getExerciseInfo(), ilExAssignmentGUI\getOverviewBody(), ilObjExerciseGUI\removeExistingSubmissions(), ilObjExerciseGUI\showAssignmentTextObject(), ilObjExerciseGUI\updateAssignmentTextObject(), and ilObjExercise\updateTextSubmission().
|
static |
Definition at line 2370 of file class.ilExAssignment.php.
References $ilCtrl, $lng, $result, ilDatePresentation\formatDate(), getDeliveredFiles(), getLastSubmission(), IL_CAL_DATETIME, lookupNewFiles(), TYPE_BLOG, TYPE_PORTFOLIO, TYPE_TEXT, TYPE_UPLOAD, and TYPE_UPLOAD_TEAM.
Referenced by ilExAssignmentPeerReviewTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), and ilExerciseMemberTableGUI\fillRow().
ilExAssignment::getExerciseId | ( | ) |
Get exercise id.
Definition at line 96 of file class.ilExAssignment.php.
References $exc_id.
Referenced by clearMultiFeedbackDirectory(), delete(), deleteFeedbackFile(), getFeedbackFilePath(), getMultiFeedbackFiles(), getPeerUploadFiles(), handleCalendarEntries(), handleFeedbackFileUpload(), resetPeerReviewFileUploads(), save(), saveMultiFeedbackFiles(), sendMultiFeedbackStructureFile(), update(), uploadAssignmentFiles(), uploadMultiFeedbackFile(), and validatePeerReviewGroups().
ilExAssignment::getFeedbackDate | ( | ) |
Get (global) feedback file availability date.
Definition at line 420 of file class.ilExAssignment.php.
References $feedback_date.
Referenced by save(), and update().
ilExAssignment::getFeedbackFile | ( | ) |
Get (global) feedback file.
Definition at line 380 of file class.ilExAssignment.php.
References $feedback_file.
Referenced by getFeedbackFilePath(), save(), and update().
ilExAssignment::getFeedbackFilePath | ( | ) |
Definition at line 573 of file class.ilExAssignment.php.
References $file, $path, getExerciseId(), getFeedbackFile(), and getId().
|
static |
Get files.
Definition at line 672 of file class.ilExAssignment.php.
Referenced by ilObjBlogGUI\downloadExcAssFile(), ilObjPortfolioGUI\downloadExcAssFile(), ilObjExerciseGUI\downloadFileObject(), ilObjBlogGUI\getExerciseInfo(), ilObjPortfolioGUI\getExerciseInfo(), and ilExAssignmentGUI\getOverviewBody().
ilExAssignment::getId | ( | ) |
Get assignment id.
Definition at line 76 of file class.ilExAssignment.php.
References $id.
Referenced by addTeamMember(), adoptTeams(), clearMultiFeedbackDirectory(), deleteFeedbackFile(), getAllPeerReviews(), getFeedbackFilePath(), getMembersOfAllTeams(), getMultiFeedbackFiles(), getPeerUploadFiles(), getTeamId(), getTeamMembers(), handleCalendarEntries(), ilObjExerciseGUI\handleDisabledAssignmentFields(), handleFeedbackFileUpload(), removeTeamMember(), resetPeerReviewFileUploads(), resetPeerReviews(), saveMultiFeedbackFiles(), sendMultiFeedbackStructureFile(), update(), updatePeerReviewComment(), uploadAssignmentFiles(), and uploadMultiFeedbackFile().
ilExAssignment::getInstruction | ( | ) |
Get instruction.
Definition at line 156 of file class.ilExAssignment.php.
References $instruction.
Referenced by save(), and update().
|
static |
Get the date of the last submission of a user for the assignment.
int | Assignment ID |
int | User ID |
Definition at line 1848 of file class.ilExAssignment.php.
References $ilDB, $lng, ilUtil\getMySQLTimestamp(), and getTeamMembersByAssignmentId().
Referenced by ilObjExerciseGUI\downloadGlobalFeedbackFileObject(), ilPublicSubmissionsTableGUI\fillRow(), getDownloadedFilesInfoForTableGUIS(), getMemberListData(), and ilExAssignmentGUI\getOverviewBody().
ilExAssignment::getMandatory | ( | ) |
Get mandatory.
Definition at line 196 of file class.ilExAssignment.php.
References $mandatory.
Referenced by ilObjExerciseGUI\initAssignmentTextForm(), save(), and update().
ilExAssignment::getMemberListData | ( | $a_exc_id, | |
$a_ass_id | |||
) |
get member list data
Definition at line 1980 of file class.ilExAssignment.php.
References $ilDB, and getLastSubmission().
Referenced by ilExerciseMemberTableGUI\__construct(), and ilPublicSubmissionsTableGUI\__construct().
ilExAssignment::getMembersOfAllTeams | ( | ) |
Get members for all teams of assignment.
Definition at line 2146 of file class.ilExAssignment.php.
References $ilDB, $row, and getId().
ilExAssignment::getMultiFeedbackFiles | ( | $a_user_id = 0 | ) |
Get multi feedback files (of uploader)
int | $a_user_id | user id of uploader |
Definition at line 3110 of file class.ilExAssignment.php.
References $ilUser, ilObjUser\_lookupName(), ilUtil\getDir(), getExerciseId(), and getId().
Referenced by saveMultiFeedbackFiles().
|
static |
Definition at line 2916 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilObjExerciseGUI\editPeerReviewObject(), and ilExAssignmentGUI\getOverviewBody().
ilExAssignment::getOrderNr | ( | ) |
Get order nr.
Definition at line 216 of file class.ilExAssignment.php.
References $order_nr.
Referenced by save(), and update().
ilExAssignment::getPeerReview | ( | ) |
Get peer review status.
Definition at line 280 of file class.ilExAssignment.php.
References $peer.
Referenced by handleCalendarEntries(), ilObjExerciseGUI\handleDisabledAssignmentFields(), save(), and update().
ilExAssignment::getPeerReviewDeadline | ( | ) |
Get peer review deadline (timestamp)
Definition at line 320 of file class.ilExAssignment.php.
References $peer_dl.
Referenced by handleCalendarEntries(), save(), and update().
ilExAssignment::getPeerReviewMin | ( | ) |
Get peer review minimum.
Definition at line 300 of file class.ilExAssignment.php.
References $peer_min.
Referenced by ilObjExerciseGUI\handleDisabledAssignmentFields(), initPeerReviews(), save(), and update().
ilExAssignment::getPeerReviewsByGiver | ( | $a_user_id | ) |
Definition at line 2736 of file class.ilExAssignment.php.
References $ilDB, $res, $row, and initPeerReviews().
ilExAssignment::getPeerReviewsByPeerId | ( | $a_user_id, | |
$a_only_valid = false |
|||
) |
Definition at line 2793 of file class.ilExAssignment.php.
ilExAssignment::getPeerUploadFiles | ( | $a_peer_id, | |
$a_giver_id | |||
) |
Definition at line 2867 of file class.ilExAssignment.php.
References $path, getExerciseId(), getId(), and hasPeerReviewFileUpload().
|
static |
Definition at line 2938 of file class.ilExAssignment.php.
References $ilDB, $res, and $row.
Referenced by ilExcCronFeedbackNotification\run().
ilExAssignment::getStartTime | ( | ) |
Get start time (timestamp)
Definition at line 116 of file class.ilExAssignment.php.
References $start_time.
Referenced by save(), and update().
ilExAssignment::getTeamId | ( | $a_user_id, | |
$a_create_on_demand = false |
|||
) |
Get team id for member id.
team will be created if no team yet
int | $a_user_id | |
bool | $a_create_on_demand |
Definition at line 2088 of file class.ilExAssignment.php.
References $id, $ilDB, $row, ilObjUser\_lookupFullname(), getId(), and writeTeamLog().
Referenced by adoptTeams(), and saveMultiFeedbackFiles().
|
static |
Find team by assignment.
int | $a_ass_id | |
int | $a_user_id |
Definition at line 2252 of file class.ilExAssignment.php.
References $ilDB, $result, and $type.
Referenced by deleteDeliveredFiles(), ilObjExercise\deliverFile(), getTeamMembersByAssignmentId(), and ilObjExerciseGUI\showTeamLogObject().
|
static |
Get all log entries for team.
int | $a_team_id |
Definition at line 2323 of file class.ilExAssignment.php.
References $ilDB, $res, and $row.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
ilExAssignment::getTeamMembers | ( | $a_team_id | ) |
Get members of assignment team.
int | $a_team_id |
Definition at line 2122 of file class.ilExAssignment.php.
References $ilDB, $row, and getId().
Referenced by addTeamMember(), and saveMultiFeedbackFiles().
|
static |
Find team members by assignment and team member.
int | $a_ass_id | |
int | $a_user_id |
Definition at line 2223 of file class.ilExAssignment.php.
References $ilDB, $row, and getTeamIdByAssignment().
Referenced by ilObjExerciseGUI\confirmDeassignMembersObject(), deleteAllDeliveredFilesOfUser(), deleteDeliveredFiles(), ilObjExercise\deleteDeliveredFiles(), ilObjExercise\deliverFile(), deliverReturnedFiles(), downloadSelectedFiles(), ilExParticipantTableGUI\fillRow(), getDeliveredFiles(), getLastSubmission(), ilExAssignmentGUI\getOverviewBody(), ilObjExercise\handleSubmission(), hasReturned(), lookupNewFiles(), lookupUpdatedSubmission(), ilObjExerciseGUI\redirectFeedbackMailObject(), and ilObjExerciseGUI\sendMembersObject().
ilExAssignment::getTitle | ( | ) |
Get title.
Definition at line 176 of file class.ilExAssignment.php.
References $title.
Referenced by ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), handleCalendarEntries(), ilObjExerciseGUI\initAssignmentTextForm(), save(), sendMultiFeedbackStructureFile(), sendNotification(), and update().
ilExAssignment::getType | ( | ) |
Get type.
Definition at line 244 of file class.ilExAssignment.php.
References $type.
Referenced by ilObjExerciseGUI\handleDisabledAssignmentFields(), save(), saveMultiFeedbackFiles(), and update().
|
protected |
Definition at line 2526 of file class.ilExAssignment.php.
Referenced by initPeerReviews(), and validatePeerReviewGroups().
|
protected |
Handle calendar entries for deadline(s)
string | $a_event |
Definition at line 3275 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::handleFeedbackFileUpload | ( | array | $a_file | ) |
Definition at line 559 of file class.ilExAssignment.php.
References $path, ilUtil\delDir(), getExerciseId(), getId(), and setFeedbackFile().
ilExAssignment::hasFeedbackCron | ( | ) |
Get (global) feedback file cron status.
Definition at line 400 of file class.ilExAssignment.php.
References $feedback_cron.
Referenced by save(), and update().
ilExAssignment::hasPeerReviewAccess | ( | $a_peer_id | ) |
Definition at line 2843 of file class.ilExAssignment.php.
ilExAssignment::hasPeerReviewFileUpload | ( | ) |
Get peer review file upload status.
Definition at line 340 of file class.ilExAssignment.php.
References $peer_file.
Referenced by getPeerUploadFiles(), ilObjExerciseGUI\handleDisabledAssignmentFields(), resetPeerReviewFileUploads(), save(), and update().
ilExAssignment::hasPeerReviewGroups | ( | ) |
Definition at line 2515 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilObjExerciseGUI\handleDisabledAssignmentFields(), initPeerReviews(), resetPeerReviews(), and validatePeerReviewGroups().
ilExAssignment::hasPeerReviewPersonalized | ( | ) |
Get peer review personalized status.
Definition at line 360 of file class.ilExAssignment.php.
References $peer_personal.
Referenced by ilObjExerciseGUI\handleDisabledAssignmentFields(), save(), and update().
ilExAssignment::hasReturned | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: hasReturned($a_member_id)
Definition at line 1111 of file class.ilExAssignment.php.
References $ilDB, $result, and getTeamMembersByAssignmentId().
|
protected |
Definition at line 2544 of file class.ilExAssignment.php.
References $ilDB, getDeadline(), getPeerReviewMin(), getValidPeerReviewUsers(), and hasPeerReviewGroups().
Referenced by getPeerReviewsByGiver().
ilExAssignment::isValidType | ( | $a_value | ) |
Is given type valid?
int | $a_value |
Definition at line 255 of file class.ilExAssignment.php.
Referenced by setType().
|
staticprivate |
Private lookup.
Definition at line 718 of file class.ilExAssignment.php.
References $ilDB.
Referenced by lookupTitle(), and lookupType().
|
static |
Check whether exercise has been sent to any student per mail.
Definition at line 1882 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilExerciseMemberTableGUI\__construct().
|
static |
Check if assignment is online.
int | $a_ass_id |
Definition at line 701 of file class.ilExAssignment.php.
References $ilDB, $query, and $res.
Referenced by ilObjExerciseSubItemListGUI\isAssignmentVisible().
|
private |
Lookup a field value of ass/member table.
Definition at line 813 of file class.ilExAssignment.php.
References $ilDB.
Referenced by lookupCommentForUser(), lookupFeedbackTimeOfUser(), lookupMarkOfUser(), lookupNoticeOfUser(), lookupSentTimeOfUser(), lookupStatusFeedbackOfUser(), lookupStatusOfUser(), lookupStatusReturnedOfUser(), lookupStatusSentOfUser(), and lookupStatusTimeOfUser().
ilExAssignment::lookupCommentForUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
Lookup comment for the user.
Definition at line 857 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilExParticipantTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), and ilExAssignmentGUI\getOverviewBody().
|
static |
Get time when feedback mail has been sent.
Definition at line 1070 of file class.ilExAssignment.php.
References ilUtil\getMySQLTimestamp(), and lookupAssMemberField().
Referenced by ilExParticipantTableGUI\fillRow(), and ilExerciseMemberTableGUI\fillRow().
ilExAssignment::lookupMarkOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
Lookup user mark.
Definition at line 874 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilObjExercise\exportGradesExcel(), ilExGradesTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\saveStatusObject().
|
static |
Select the maximum order nr for an exercise.
Definition at line 682 of file class.ilExAssignment.php.
References $ilDB.
Referenced by save().
|
static |
Check how much files have been uploaded by the learner after the last download of the tutor.
Definition at line 1946 of file class.ilExAssignment.php.
References $ilDB, $ilUser, and getTeamMembersByAssignmentId().
Referenced by getDownloadedFilesInfoForTableGUIS().
ilExAssignment::lookupNoticeOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: getNoticeByMember($a_member_id)
Definition at line 1103 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilExParticipantTableGUI\fillRow(), and ilExerciseMemberTableGUI\fillRow().
|
static |
Get time when exercise has been sent per e-mail to user.
Definition at line 1061 of file class.ilExAssignment.php.
References ilUtil\getMySQLTimestamp(), and lookupAssMemberField().
Referenced by ilExerciseMemberTableGUI\fillRow().
ilExAssignment::lookupStatusFeedbackOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: getStatusFeedbackByMember($a_member_id)
Definition at line 1037 of file class.ilExAssignment.php.
References lookupAssMemberField().
ilExAssignment::lookupStatusOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: getStatusByMember
Definition at line 891 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilObjExercise\determinStatusOfUser(), ilObjExercise\exportGradesExcel(), ilExGradesTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), ilExAssignmentGUI\getOverviewBody(), and ilExAssignmentGUI\getOverviewHeader().
ilExAssignment::lookupStatusReturnedOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: getStatusReturnedByMember($a_member_id)
Definition at line 984 of file class.ilExAssignment.php.
References lookupAssMemberField().
ilExAssignment::lookupStatusSentOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: getStatusSentByMember($a_member_id)
Definition at line 946 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseMemberTableGUI\fillRow().
|
static |
Get status time.
Definition at line 1079 of file class.ilExAssignment.php.
References ilUtil\getMySQLTimestamp(), and lookupAssMemberField().
Referenced by ilExParticipantTableGUI\fillRow(), and ilExerciseMemberTableGUI\fillRow().
|
static |
Lookup title.
Definition at line 734 of file class.ilExAssignment.php.
References lookup().
Referenced by ilExerciseMemberTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilObjExerciseGUI\confirmAssignmentsDeletionObject(), deliverReturnedFiles(), downloadAllDeliveredFiles(), downloadMultipleFiles(), ilObjExerciseGUI\executeCommand(), ilObjExerciseSubItemListGUI\getHTML(), ilObjExerciseGUI\initMultiFeedbackForm(), ilExerciseMailNotification\send(), ilObjExercise\sendAssignment(), and ilObjExerciseGUI\setAssignmentHeader().
|
static |
Lookup type.
Definition at line 742 of file class.ilExAssignment.php.
References lookup().
Referenced by ilExerciseMemberTableGUI\__construct(), and downloadAllDeliveredFiles().
|
static |
Check whether student has upload new files after tutor has set the exercise to another than notgraded.
Definition at line 1907 of file class.ilExAssignment.php.
References $ilDB, $lng, and getTeamMembersByAssignmentId().
ilExAssignment::orderAssByDeadline | ( | $a_ex_id | ) |
Order assignments by deadline date.
Definition at line 772 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilObjExerciseGUI\orderAssignmentsByDeadlineObject().
ilExAssignment::read | ( | ) |
Read from db.
Definition at line 428 of file class.ilExAssignment.php.
References $ilDB, setDeadline(), setExerciseId(), setFeedbackCron(), setFeedbackDate(), setFeedbackFile(), setInstruction(), setMandatory(), setOrderNr(), setPeerReview(), setPeerReviewDeadline(), setPeerReviewFileUpload(), setPeerReviewMin(), setPeerReviewPersonalized(), setStartTime(), setTitle(), and setType().
Referenced by __construct().
ilExAssignment::removeTeamMember | ( | $a_team_id, | |
$a_user_id, | |||
$a_exc_ref_id | |||
) |
Remove member from team.
int | $a_team_id | |
int | $a_user_id | |
int | $a_exc_ref_id |
Definition at line 2200 of file class.ilExAssignment.php.
References $ilDB, ilObjUser\_lookupFullname(), getId(), sendNotification(), and writeTeamLog().
ilExAssignment::resetPeerReviewFileUploads | ( | ) |
Definition at line 2636 of file class.ilExAssignment.php.
References getExerciseId(), getId(), and hasPeerReviewFileUpload().
Referenced by resetPeerReviews().
ilExAssignment::resetPeerReviews | ( | ) |
Definition at line 2646 of file class.ilExAssignment.php.
References $ilDB, getAllPeerReviews(), getId(), hasPeerReviewGroups(), resetPeerReviewFileUploads(), and ilRating\resetRatingForUserAndObject().
ilExAssignment::save | ( | ) |
Save assignment.
Definition at line 459 of file class.ilExAssignment.php.
References $ilDB, createNewAssignmentRecords(), getDeadline(), getExerciseId(), getFeedbackDate(), getFeedbackFile(), getInstruction(), getMandatory(), getOrderNr(), getPeerReview(), getPeerReviewDeadline(), getPeerReviewMin(), getStartTime(), getTitle(), getType(), handleCalendarEntries(), hasFeedbackCron(), hasPeerReviewFileUpload(), hasPeerReviewPersonalized(), lookupMaxOrderNrForEx(), setId(), and setOrderNr().
ilExAssignment::saveAssOrderOfExercise | ( | $a_ex_id, | |
$a_order | |||
) |
Save ordering of all assignments of an exercise.
Definition at line 750 of file class.ilExAssignment.php.
Referenced by ilObjExerciseGUI\saveAssignmentOrderObject().
ilExAssignment::saveMultiFeedbackFiles | ( | $a_files, | |
ilObjExercise | $a_exc | ||
) |
Save multi feedback files.
return
Definition at line 3199 of file class.ilExAssignment.php.
References clearMultiFeedbackDirectory(), getExerciseId(), getId(), ilObject\getId(), getMultiFeedbackFiles(), getTeamId(), getTeamMembers(), getType(), ilObjExercise\sendFeedbackFileNotification(), and TYPE_UPLOAD_TEAM.
ilExAssignment::sendFeedbackNotifications | ( | $a_ass_id, | |
$a_user_id = null |
|||
) |
Definition at line 2962 of file class.ilExAssignment.php.
References $ilDB, $row, and ilExerciseMembers\_getMembers().
Referenced by ilExcCronFeedbackNotification\run(), and updateStatusReturnedForUser().
ilExAssignment::sendMultiFeedbackStructureFile | ( | ) |
Create member status record for a new assignment for all participants.
Definition at line 3021 of file class.ilExAssignment.php.
References $ilDB, ilObjUser\_lookupName(), ilUtil\deliverFile(), ilUtil\getASCIIFilename(), getExerciseId(), getId(), getTitle(), ilUtil\ilTempnam(), ilUtil\makeDir(), and ilUtil\zip().
ilExAssignment::sendNotification | ( | $a_exc_ref_id, | |
$a_user_id, | |||
$a_action | |||
) |
Send notification about team status.
int | $a_exc_ref_id | |
int | $a_user_id | |
string | $a_action |
Definition at line 2347 of file class.ilExAssignment.php.
References $ilUser, and getTitle().
Referenced by addTeamMember(), adoptTeams(), and removeTeamMember().
ilExAssignment::setDeadline | ( | $a_val | ) |
Set deadline (timestamp)
int | deadline (timestamp) |
Definition at line 126 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setExerciseId | ( | $a_val | ) |
Set exercise id.
int | exercise id |
Definition at line 86 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setFeedbackCron | ( | $a_value | ) |
Toggle (global) feedback file cron.
bool | $a_value |
Definition at line 390 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setFeedbackDate | ( | $a_value | ) |
Set (global) feedback file availability date.
int | $a_value |
Definition at line 410 of file class.ilExAssignment.php.
Referenced by __construct(), and read().
ilExAssignment::setFeedbackFile | ( | $a_value | ) |
Set (global) feedback file.
string | $a_value |
Definition at line 370 of file class.ilExAssignment.php.
Referenced by handleFeedbackFileUpload(), and read().
ilExAssignment::setId | ( | $a_val | ) |
Set assignment id.
int | assignment id |
Definition at line 66 of file class.ilExAssignment.php.
Referenced by __construct(), and save().
ilExAssignment::setInstruction | ( | $a_val | ) |
Set instruction.
string | instruction |
Definition at line 146 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setMandatory | ( | $a_val | ) |
Set mandatory.
int | mandatory |
Definition at line 186 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setOrderNr | ( | $a_val | ) |
Set order nr.
int | order nr |
Definition at line 206 of file class.ilExAssignment.php.
Referenced by read(), and save().
ilExAssignment::setPeerReview | ( | $a_value | ) |
Toggle peer review.
bool | $a_value |
Definition at line 270 of file class.ilExAssignment.php.
Referenced by read(), and setType().
ilExAssignment::setPeerReviewDeadline | ( | $a_val | ) |
Set peer review deadline (timestamp)
int | deadline (timestamp) |
Definition at line 310 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setPeerReviewFileUpload | ( | $a_val | ) |
Set peer review file upload.
bool |
Definition at line 330 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setPeerReviewMin | ( | $a_value | ) |
Set peer review minimum.
int | $a_value |
Definition at line 290 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setPeerReviewPersonalized | ( | $a_val | ) |
Set peer review personalized.
bool |
Definition at line 350 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setStartTime | ( | $a_val | ) |
Set start time (timestamp)
int | start time (timestamp) |
Definition at line 106 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setTitle | ( | $a_val | ) |
Set title.
string | title |
Definition at line 166 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setType | ( | $a_value | ) |
Set type.
int | $a_value |
Definition at line 226 of file class.ilExAssignment.php.
References isValidType(), and setPeerReview().
Referenced by __construct(), and read().
ilExAssignment::update | ( | ) |
Update.
Definition at line 501 of file class.ilExAssignment.php.
References $ilDB, getDeadline(), getExerciseId(), getFeedbackDate(), getFeedbackFile(), getId(), getInstruction(), getMandatory(), getOrderNr(), getPeerReview(), getPeerReviewDeadline(), getPeerReviewMin(), getStartTime(), getTitle(), getType(), handleCalendarEntries(), hasFeedbackCron(), hasPeerReviewFileUpload(), and hasPeerReviewPersonalized().
|
private |
Update a field value of ass/member table.
Definition at line 829 of file class.ilExAssignment.php.
References $ilDB.
Referenced by updateCommentForUser(), updateMarkOfUser(), and updateStatusTimeOfUser().
ilExAssignment::updateCommentForUser | ( | $a_ass_id, | |
$a_user_id, | |||
$a_value | |||
) |
Update comment.
Definition at line 865 of file class.ilExAssignment.php.
References updateAssMemberField().
Referenced by ilObjExerciseGUI\saveCommentForLearnersObject(), and ilExerciseXMLParser\updateMarking().
ilExAssignment::updateMarkOfUser | ( | $a_ass_id, | |
$a_user_id, | |||
$a_value | |||
) |
Update mark.
Definition at line 882 of file class.ilExAssignment.php.
References updateAssMemberField().
Referenced by ilObjExerciseGUI\saveStatusObject(), and ilExerciseXMLParser\updateMarking().
ilExAssignment::updateNoticeForUser | ( | $a_ass_id, | |
$a_user_id, | |||
$a_notice | |||
) |
was: setNoticeForMember($a_member_id,$a_notice)
Definition at line 1809 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilObjExerciseGUI\saveStatusObject(), and ilExerciseXMLParser\updateMarking().
ilExAssignment::updatePeerReviewComment | ( | $a_peer_id, | |
$a_comment | |||
) |
Definition at line 2879 of file class.ilExAssignment.php.
References $ilDB, $ilUser, getId(), and ilUtil\now().
ilExAssignment::updatePeerReviewTimestamp | ( | $a_peer_id | ) |
Definition at line 2856 of file class.ilExAssignment.php.
References $ilDB, $ilUser, and ilUtil\now().
ilExAssignment::updateStatusFeedbackForUser | ( | $a_ass_id, | |
$a_user_id, | |||
$a_status | |||
) |
was: setStatusFeedbackForMember($a_member_id,$a_status)
Definition at line 1045 of file class.ilExAssignment.php.
References $ilDB, and ilUtil\now().
Referenced by ilObjExerciseGUI\redirectFeedbackMailObject().
ilExAssignment::updateStatusOfUser | ( | $a_ass_id, | |
$a_user_id, | |||
$a_status | |||
) |
was: setStatusForMember($a_member_id,$a_status)
Definition at line 904 of file class.ilExAssignment.php.
References $ilDB, and ilUtil\now().
Referenced by deleteAllDeliveredFilesOfUser(), ilObjExercise\handleSubmission(), ilObjExerciseGUI\saveStatusObject(), and ilExerciseXMLParser\updateMarking().
ilExAssignment::updateStatusReturnedForUser | ( | $a_ass_id, | |
$a_user_id, | |||
$a_status | |||
) |
was: setStatusReturnedForMember($a_member_id,$a_status)
Definition at line 992 of file class.ilExAssignment.php.
References $ilDB, $row, and sendFeedbackNotifications().
Referenced by ilObjExercise\addResourceObject(), ilObjExerciseGUI\addTeamMemberActionObject(), ilObjExercise\deleteDeliveredFiles(), ilObjExercise\deliverFile(), and ilObjExerciseGUI\removeTeamMemberObject().
ilExAssignment::updateStatusSentForUser | ( | $a_ass_id, | |
$a_user_id, | |||
$a_status | |||
) |
was: setStatusSentForMember($a_member_id,$a_status)
Definition at line 954 of file class.ilExAssignment.php.
References $ilDB, and ilUtil\now().
Referenced by ilObjExercise\sendAssignment().
ilExAssignment::updateStatusTimeOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: updateStatusTimeForMember($a_user_id)
Definition at line 922 of file class.ilExAssignment.php.
References ilUtil\now(), and updateAssMemberField().
Referenced by ilObjExerciseGUI\saveStatusObject().
ilExAssignment::updateTutorDownloadTime | ( | $a_exc_id, | |
$a_ass_id, | |||
$a_user_id | |||
) |
was: updateTutorDownloadTime($member_id)
Definition at line 1470 of file class.ilExAssignment.php.
References $ilDB, $ilUser, and ilUtil\now().
Referenced by deliverReturnedFiles(), and ilObjExerciseGUI\downloadAllObject().
ilExAssignment::uploadAssignmentFiles | ( | $a_files | ) |
Upload assignment files (from creation form)
Definition at line 2067 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
ilExAssignment::uploadMultiFeedbackFile | ( | $a_file | ) |
Upload multi feedback file.
array |
Definition at line 3070 of file class.ilExAssignment.php.
References $ilUser, $lng, ilUtil\delDir(), ilUtil\getDir(), getExerciseId(), getId(), ilUtil\moveUploadedFile(), and ilUtil\unzip().
|
staticprotected |
Definition at line 2758 of file class.ilExAssignment.php.
References $valid, and ilRating\getRatingForUserAndObject().
ilExAssignment::validatePeerReviewGroups | ( | ) |
Definition at line 2671 of file class.ilExAssignment.php.
References $valid, ilExerciseMembers\_getMembers(), getAllPeerReviews(), getExerciseId(), getValidPeerReviewUsers(), and hasPeerReviewGroups().
|
static |
Add entry to team log.
int | $a_team_id | |
int | $a_action | |
string | $a_details |
Definition at line 2302 of file class.ilExAssignment.php.
References $ilDB, and $ilUser.
Referenced by addTeamMember(), deleteDeliveredFiles(), ilObjExercise\deliverFile(), getTeamId(), and removeTeamMember().
|
protected |
Definition at line 32 of file class.ilExAssignment.php.
Referenced by getDeadline().
|
protected |
Definition at line 29 of file class.ilExAssignment.php.
Referenced by getExerciseId().
|
protected |
Definition at line 43 of file class.ilExAssignment.php.
Referenced by hasFeedbackCron().
|
protected |
Definition at line 44 of file class.ilExAssignment.php.
Referenced by getFeedbackDate().
|
protected |
Definition at line 42 of file class.ilExAssignment.php.
Referenced by getFeedbackFile().
|
protected |
Definition at line 28 of file class.ilExAssignment.php.
Referenced by downloadAllDeliveredFiles(), getId(), and getTeamId().
|
protected |
Definition at line 33 of file class.ilExAssignment.php.
Referenced by getInstruction().
|
protected |
Definition at line 35 of file class.ilExAssignment.php.
Referenced by getMandatory().
|
protected |
Definition at line 36 of file class.ilExAssignment.php.
Referenced by getOrderNr().
|
protected |
Definition at line 37 of file class.ilExAssignment.php.
Referenced by getPeerReview().
|
protected |
Definition at line 39 of file class.ilExAssignment.php.
Referenced by getPeerReviewDeadline().
|
protected |
Definition at line 40 of file class.ilExAssignment.php.
Referenced by hasPeerReviewFileUpload().
|
protected |
Definition at line 38 of file class.ilExAssignment.php.
Referenced by getPeerReviewMin().
|
protected |
Definition at line 41 of file class.ilExAssignment.php.
Referenced by hasPeerReviewPersonalized().
|
protected |
Definition at line 31 of file class.ilExAssignment.php.
Referenced by getStartTime().
|
protected |
Definition at line 34 of file class.ilExAssignment.php.
Referenced by getTitle().
|
protected |
Definition at line 30 of file class.ilExAssignment.php.
Referenced by getTeamIdByAssignment(), and getType().
const ilExAssignment::FEEDBACK_DATE_DEADLINE = 1 |
const ilExAssignment::FEEDBACK_DATE_SUBMISSION = 2 |
Definition at line 26 of file class.ilExAssignment.php.
Referenced by ilObjExerciseGUI\initAssignmentForm().
const ilExAssignment::TEAM_LOG_ADD_FILE = 4 |
Definition at line 22 of file class.ilExAssignment.php.
Referenced by ilObjExercise\deliverFile(), and ilExAssignmentTeamLogTableGUI\getItems().
const ilExAssignment::TEAM_LOG_ADD_MEMBER = 2 |
Definition at line 20 of file class.ilExAssignment.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
const ilExAssignment::TEAM_LOG_CREATE_TEAM = 1 |
Definition at line 19 of file class.ilExAssignment.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
const ilExAssignment::TEAM_LOG_REMOVE_FILE = 5 |
Definition at line 23 of file class.ilExAssignment.php.
Referenced by deleteDeliveredFiles(), and ilExAssignmentTeamLogTableGUI\getItems().
const ilExAssignment::TEAM_LOG_REMOVE_MEMBER = 3 |
Definition at line 21 of file class.ilExAssignment.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
const ilExAssignment::TYPE_BLOG = 2 |
Definition at line 14 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), deliverReturnedFiles(), downloadAllDeliveredFiles(), downloadSelectedFiles(), getDownloadedFilesInfoForTableGUIS(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\initAssignmentForm().
const ilExAssignment::TYPE_PORTFOLIO = 3 |
Definition at line 15 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilObjPortfolioGUI\createPortfolioFromTemplateProcess(), deliverReturnedFiles(), downloadAllDeliveredFiles(), downloadSelectedFiles(), getDownloadedFilesInfoForTableGUIS(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\initAssignmentForm().
const ilExAssignment::TYPE_TEXT = 5 |
Definition at line 17 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilObjExerciseGUI\editAssignmentTextObject(), getDownloadedFilesInfoForTableGUIS(), ilExAssignmentGUI\getOverviewBody(), ilObjExerciseGUI\initAssignmentForm(), ilObjExerciseGUI\listPublicSubmissionsObject(), ilObjExerciseGUI\listTextAssignmentObject(), ilObjExerciseGUI\membersObject(), ilObjExerciseGUI\showAssignmentTextObject(), and ilObjExerciseGUI\updateAssignmentTextObject().
const ilExAssignment::TYPE_UPLOAD = 1 |
Definition at line 13 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), getDownloadedFilesInfoForTableGUIS(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\initAssignmentForm().
const ilExAssignment::TYPE_UPLOAD_TEAM = 4 |
Definition at line 16 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilObjExerciseGUI\confirmDeassignMembersObject(), deleteAllDeliveredFilesOfUser(), ilObjExerciseGUI\downloadFeedbackFileObject(), ilObjExerciseGUI\executeCommand(), ilExParticipantTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), getAdoptableTeamAssignments(), ilObjExerciseGUI\getAssignmentValues(), getDownloadedFilesInfoForTableGUIS(), ilExAssignmentGUI\getOverviewBody(), ilObjExerciseGUI\handleDisabledAssignmentFields(), ilObjExerciseGUI\initAssignmentForm(), ilObjExerciseGUI\initTeamSubmission(), ilObjExerciseGUI\redirectFeedbackMailObject(), ilObjExerciseGUI\saveAssignmentObject(), ilObjExerciseGUI\saveCommentForLearnersObject(), saveMultiFeedbackFiles(), ilObjExerciseGUI\saveStatusObject(), ilObjExerciseGUI\sendMembersObject(), and ilObjExerciseGUI\updateAssignmentObject().