ILIAS
Release_5_0_x_branch Revision 61816
|
Exercise assignment. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor. | |
setId ($a_val) | |
Set assignment id. | |
getId () | |
Get assignment id. | |
setExerciseId ($a_val) | |
Set exercise id. | |
getExerciseId () | |
Get exercise id. | |
setStartTime ($a_val) | |
Set start time (timestamp) | |
getStartTime () | |
Get start time (timestamp) | |
setDeadline ($a_val) | |
Set deadline (timestamp) | |
getDeadline () | |
Get deadline (timestamp) | |
setInstruction ($a_val) | |
Set instruction. | |
getInstruction () | |
Get instruction. | |
setTitle ($a_val) | |
Set title. | |
getTitle () | |
Get title. | |
setMandatory ($a_val) | |
Set mandatory. | |
getMandatory () | |
Get mandatory. | |
setOrderNr ($a_val) | |
Set order nr. | |
getOrderNr () | |
Get order nr. | |
setType ($a_value) | |
Set type. | |
getType () | |
Get type. | |
isValidType ($a_value) | |
Is given type valid? | |
setPeerReview ($a_value) | |
Toggle peer review. | |
getPeerReview () | |
Get peer review status. | |
setPeerReviewMin ($a_value) | |
Set peer review minimum. | |
getPeerReviewMin () | |
Get peer review minimum. | |
setPeerReviewDeadline ($a_val) | |
Set peer review deadline (timestamp) | |
getPeerReviewDeadline () | |
Get peer review deadline (timestamp) | |
setPeerReviewFileUpload ($a_val) | |
Set peer review file upload. | |
hasPeerReviewFileUpload () | |
Get peer review file upload status. | |
setPeerReviewPersonalized ($a_val) | |
Set peer review personalized. | |
hasPeerReviewPersonalized () | |
Get peer review personalized status. | |
setFeedbackFile ($a_value) | |
Set (global) feedback file. | |
getFeedbackFile () | |
Get (global) feedback file. | |
setFeedbackCron ($a_value) | |
Toggle (global) feedback file cron. | |
hasFeedbackCron () | |
Get (global) feedback file cron status. | |
setFeedbackDate ($a_value) | |
Set (global) feedback file availability date. | |
getFeedbackDate () | |
Get (global) feedback file availability date. | |
read () | |
Read from db. | |
save () | |
Save assignment. | |
update () | |
Update. | |
delete () | |
Delete assignment. | |
deleteFeedbackFile () | |
handleFeedbackFileUpload (array $a_file) | |
getFeedbackFilePath () | |
cloneAssignmentsOfExercise ($a_old_exc_id, $a_new_exc_id) | |
Clone assignments of exercise. | |
saveAssOrderOfExercise ($a_ex_id, $a_order) | |
Save ordering of all assignments of an exercise. | |
orderAssByDeadline ($a_ex_id) | |
Order assignments by deadline date. | |
countMandatory ($a_ex_id) | |
Order assignments by deadline date. | |
lookupCommentForUser ($a_ass_id, $a_user_id) | |
Lookup comment for the user. | |
updateCommentForUser ($a_ass_id, $a_user_id, $a_value) | |
Update comment. | |
lookupMarkOfUser ($a_ass_id, $a_user_id) | |
Lookup user mark. | |
updateMarkOfUser ($a_ass_id, $a_user_id, $a_value) | |
Update mark. | |
lookupStatusOfUser ($a_ass_id, $a_user_id) | |
was: getStatusByMember | |
updateStatusOfUser ($a_ass_id, $a_user_id, $a_status) | |
was: setStatusForMember($a_member_id,$a_status) | |
updateStatusTimeOfUser ($a_ass_id, $a_user_id) | |
was: updateStatusTimeForMember($a_user_id) | |
lookupStatusSentOfUser ($a_ass_id, $a_user_id) | |
was: getStatusSentByMember($a_member_id) | |
updateStatusSentForUser ($a_ass_id, $a_user_id, $a_status) | |
was: setStatusSentForMember($a_member_id,$a_status) | |
lookupStatusReturnedOfUser ($a_ass_id, $a_user_id) | |
was: getStatusReturnedByMember($a_member_id) | |
updateStatusReturnedForUser ($a_ass_id, $a_user_id, $a_status) | |
was: setStatusReturnedForMember($a_member_id,$a_status) | |
lookupStatusFeedbackOfUser ($a_ass_id, $a_user_id) | |
was: getStatusFeedbackByMember($a_member_id) | |
updateStatusFeedbackForUser ($a_ass_id, $a_user_id, $a_status) | |
was: setStatusFeedbackForMember($a_member_id,$a_status) | |
lookupNoticeOfUser ($a_ass_id, $a_user_id) | |
was: getNoticeByMember($a_member_id) | |
hasReturned ($a_ass_id, $a_user_id) | |
was: hasReturned($a_member_id) | |
getAllDeliveredFiles ($a_exc_id, $a_ass_id) | |
was: getAllDeliveredFiles() | |
getDeliveredFiles ($a_exc_id, $a_ass_id, $a_user_id, $a_filter_empty_filename=false) | |
was: getDeliveredFiles($a_member_id) | |
deleteDeliveredFiles ($a_exc_id, $a_ass_id, $file_id_array, $a_user_id) | |
was: deleteDeliveredFiles($file_id_array, $a_member_id) | |
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) | |
updateTutorDownloadTime ($a_exc_id, $a_ass_id, $a_user_id) | |
was: updateTutorDownloadTime($member_id) | |
downloadSelectedFiles ($a_exc_id, $a_ass_id, $a_user_id, $array_file_id) | |
was: downloadSelectedFiles($array_file_id,$a_user_id)? | |
downloadSingleFile ($a_exc_id, $a_ass_id, $a_user_id, $filename, $filetitle) | |
was: downloadSingleFile($filename, $filetitle) | |
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) | |
downloadAllDeliveredFiles ($a_exc_id, $a_ass_id, $members) | |
Download all submitted files of an assignment (all user) | |
updateNoticeForUser ($a_ass_id, $a_user_id, $a_notice) | |
was: setNoticeForMember($a_member_id,$a_notice) | |
_getReturned ($a_ass_id) | |
was: _getReturned($a_obj_id) | |
getMemberListData ($a_exc_id, $a_ass_id) | |
get member list data | |
uploadAssignmentFiles ($a_files) | |
Upload assignment files (from creation form) | |
getTeamId ($a_user_id, $a_create_on_demand=false) | |
Get team id for member id. | |
getTeamMembers ($a_team_id) | |
Get members of assignment team. | |
getMembersOfAllTeams () | |
Get members for all teams of assignment. | |
addTeamMember ($a_team_id, $a_user_id, $a_exc_ref_id=null) | |
Add new member to team. | |
removeTeamMember ($a_team_id, $a_user_id, $a_exc_ref_id) | |
Remove member from team. | |
sendNotification ($a_exc_ref_id, $a_user_id, $a_action) | |
Send notification about team status. | |
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. | |
uploadMultiFeedbackFile ($a_file) | |
Upload multi feedback file. | |
getMultiFeedbackFiles ($a_user_id=0) | |
Get multi feedback files (of uploader) | |
clearMultiFeedbackDirectory () | |
Clear multi feedback directory. | |
saveMultiFeedbackFiles ($a_files) | |
Save multi feedback files. | |
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. | |
static | getFiles ($a_exc_id, $a_ass_id) |
Get files. | |
static | lookupMaxOrderNrForEx ($a_exc_id) |
Select the maximum order nr for an exercise. | |
static | lookupAssignmentOnline ($a_ass_id) |
Check if assignment is online. | |
static | lookupTitle ($a_id) |
Lookup title. | |
static | lookupType ($a_id) |
Lookup type. | |
static | lookupSentTimeOfUser ($a_ass_id, $a_user_id) |
Get time when exercise has been sent per e-mail to user. | |
static | lookupFeedbackTimeOfUser ($a_ass_id, $a_user_id) |
Get time when feedback mail has been sent. | |
static | lookupStatusTimeOfUser ($a_ass_id, $a_user_id) |
Get status time. | |
static | deleteAllDeliveredFilesOfUser ($a_exc_id, $a_user_id) |
Delete all delivered files of user. | |
static | getLastSubmission ($a_ass_id, $a_user_id) |
Get the date of the last submission of a user for the assignment. | |
static | lookupAnyExerciseSent ($a_exc_id, $a_ass_id) |
Check whether exercise has been sent to any student per mail. | |
static | lookupUpdatedSubmission ($ass_id, $member_id) |
Check whether student has upload new files after tutor has set the exercise to another than notgraded. | |
static | lookupNewFiles ($ass_id, $member_id) |
Check how much files have been uploaded by the learner after the last download of the tutor. | |
static | createNewUserRecords ($a_user_id, $a_exc_id) |
Create member status record for a new participant for all assignments. | |
static | createNewAssignmentRecords ($a_ass_id, $a_exc) |
Create member status record for a new assignment for all participants. | |
static | getTeamMembersByAssignmentId ($a_ass_id, $a_user_id) |
Find team members by assignment and team member. | |
static | getTeamIdByAssignment ($a_ass_id, $a_user_id) |
Find team by assignment. | |
static | getAssignmentTeamMap ($a_ass_id) |
Get team structure for assignment. | |
static | writeTeamLog ($a_team_id, $a_action, $a_details=null) |
Add entry to team log. | |
static | getTeamLog ($a_team_id) |
Get all log entries for team. | |
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) |
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. | |
updateAssMemberField ($a_ass_id, $a_user_id, $a_field, $a_value, $a_type) | |
Update a field value of ass/member table. |
Static Private Member Functions | |
static | lookup ($a_id, $a_field) |
Private lookup. |
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 3383 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, ilFSStorageExercise\create(), 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().
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 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(), 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 3325 of file class.ilExAssignment.php.
References $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.
References $ilDB.
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(), ilObjPortfolioGUI\downloadExcSubFile(), ilObjBlogGUI\downloadExcSubFile(), ilObjExerciseGUI\editAssignmentTextObject(), ilPublicSubmissionsTableGUI\fillRow(), getDownloadedFilesInfoForTableGUIS(), ilObjPortfolioGUI\getExerciseInfo(), ilObjBlogGUI\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 ilExParticipantTableGUI\fillRow(), ilExAssignmentPeerReviewTableGUI\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 ilObjPortfolioGUI\downloadExcAssFile(), ilObjBlogGUI\downloadExcAssFile(), ilObjPortfolioGUI\getExerciseInfo(), ilObjBlogGUI\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(), getPeerReviewsByGiver(), getPeerReviewsByPeerId(), getPeerUploadFiles(), getTeamId(), getTeamMembers(), handleCalendarEntries(), ilObjExerciseGUI\handleDisabledAssignmentFields(), handleFeedbackFileUpload(), hasPeerReviewAccess(), removeTeamMember(), resetPeerReviewFileUploads(), resetPeerReviews(), saveMultiFeedbackFiles(), sendMultiFeedbackStructureFile(), update(), updatePeerReviewComment(), updatePeerReviewTimestamp(), 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 ilPublicSubmissionsTableGUI\__construct(), and ilExerciseMemberTableGUI\__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, getId(), and initPeerReviews().
ilExAssignment::getPeerReviewsByPeerId | ( | $a_user_id, | |
$a_only_valid = false |
|||
) |
Definition at line 2793 of file class.ilExAssignment.php.
References $ilDB, $res, $row, and getId().
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(), ilObjExercise\deleteDeliveredFiles(), 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 3272 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.
References $ilDB, $ilUser, $row, and getId().
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 ilPublicSubmissionsTableGUI\__construct(), ilExerciseMemberTableGUI\__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 | ) |
Save multi feedback files.
@return |
Definition at line 3199 of file class.ilExAssignment.php.
References clearMultiFeedbackDirectory(), getExerciseId(), getId(), getMultiFeedbackFiles(), getTeamId(), getTeamMembers(), getType(), 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, getId(), 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, ilUtil\now(), and ilObjExercise\updateUserStatus().
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 |
Definition at line 25 of file class.ilExAssignment.php.
Referenced by ilObjExerciseGUI\downloadGlobalFeedbackFileObject(), ilExAssignmentGUI\getOverviewBody(), ilObjExerciseGUI\initAssignmentForm(), and ilObjExerciseGUI\updateAssignmentObject().
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(), 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(), 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 ilExcDeliveredFilesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilObjExerciseGUI\confirmDeassignMembersObject(), deleteAllDeliveredFilesOfUser(), ilObjExerciseGUI\downloadFeedbackFileObject(), ilObjExerciseGUI\executeCommand(), ilExcDeliveredFilesTableGUI\fillRow(), ilExParticipantTableGUI\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().