ILIAS
Release_4_2_x_branch Revision 61807
|
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? | |
read () | |
Read from db. | |
save () | |
Save assignment. | |
update () | |
Update. | |
delete () | |
Delete assignment. | |
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) | |
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) | |
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) |
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. |
Data Fields | |
const | TYPE_UPLOAD = 1 |
const | TYPE_BLOG = 2 |
const | TYPE_PORTFOLIO = 3 |
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 | ) |
ilExAssignment::_getReturned | ( | $a_ass_id | ) |
was: _getReturned($a_obj_id)
Definition at line 1374 of file class.ilExAssignment.php.
ilExAssignment::cloneAssignmentsOfExercise | ( | $a_old_exc_id, | |
$a_new_exc_id | |||
) |
Clone assignments of exercise.
@return |
Definition at line 362 of file class.ilExAssignment.php.
References $d, ilFSStorageExercise\create(), getAssignmentDataOfExercise(), and ilUtil\rCopy().
Referenced by ilObjExercise\cloneObject().
ilExAssignment::countMandatory | ( | $a_ex_id | ) |
Order assignments by deadline date.
Definition at line 517 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 1576 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 1556 of file class.ilExAssignment.php.
References $ilDB, and getAssignmentDataOfExercise().
Referenced by ilExerciseMembers\assignMember().
ilExAssignment::delete | ( | ) |
Delete assignment.
Definition at line 312 of file class.ilExAssignment.php.
References $ilDB, and getExerciseId().
|
static |
Delete all delivered files of user.
int | $a_exc_id | excercise id |
int | $a_user_id | user id |
Definition at line 943 of file class.ilExAssignment.php.
References $d, $filename, and $ilDB.
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 894 of file class.ilExAssignment.php.
References $filename, $ilDB, $result, and $row.
Referenced by ilObjExerciseGUI\removeExistingSubmissions().
ilExAssignment::deliverReturnedFiles | ( | $a_exc_id, | |
$a_ass_id, | |||
$a_user_id, | |||
$a_only_new = false |
|||
) |
was: deliverReturnedFiles($a_member_id, $a_only_new = false)
Definition at line 977 of file class.ilExAssignment.php.
References $dir, $filename, $ilDB, $query, $result, $row, ilObjUser\_lookupName(), ilObject\_lookupTitle(), downloadMultipleFiles(), downloadSingleFile(), 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 1231 of file class.ilExAssignment.php.
References $lng, ilObjUser\_lookupLogin(), 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 | |||
) |
was: downloadMultipleFiles($array_filenames, $pathname, $a_member_id = 0)
Definition at line 1155 of file class.ilExAssignment.php.
References $filename, $lng, 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 1078 of file class.ilExAssignment.php.
References $dir, $file, $ilDB, $result, $row, ilObjUser\_lookupName(), ilObject\_lookupTitle(), downloadMultipleFiles(), downloadSingleFile(), 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 1139 of file class.ilExAssignment.php.
References $filename, and ilUtil\deliverFile().
Referenced by deliverReturnedFiles(), and downloadSelectedFiles().
ilExAssignment::getAllDeliveredFiles | ( | $a_exc_id, | |
$a_ass_id | |||
) |
Definition at line 829 of file class.ilExAssignment.php.
References $ilDB, $query, $res, and $row.
Referenced by ilExerciseMemberTableGUI\__construct(), and ilObjExerciseGUI\getAssignmentValues().
|
static |
Get assignments data of an exercise in an array.
Definition at line 327 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExParticipantTableGUI\__construct(), cloneAssignmentsOfExercise(), createNewUserRecords(), ilObjExercise\determinStatusOfUser(), ilObjExercise\exportGradesExcel(), ilExerciseXMLParser\ilExerciseXMLParser(), ilObjExerciseGUI\infoScreen(), ilObjExerciseGUI\membersObject(), ilObjExerciseGUI\showOverviewObject(), ilObjExerciseGUI\showParticipantObject(), and ilExerciseXMLWriter\start().
ilExAssignment::getDeadline | ( | ) |
Get deadline (timestamp)
Definition at line 106 of file class.ilExAssignment.php.
Referenced by 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 856 of file class.ilExAssignment.php.
References $ilDB, $result, and $row.
Referenced by ilObjExerciseGUI\confirmDeleteDeliveredObject(), ilObjExercise\deleteDeliveredFiles(), ilObjBlogGUI\downloadExcSubFile(), ilObjPortfolioGUI\downloadExcSubFile(), ilPublicSubmissionsTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), ilObjBlogGUI\getExerciseInfo(), ilObjPortfolioGUI\getExerciseInfo(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\removeExistingSubmissions().
ilExAssignment::getExerciseId | ( | ) |
Get exercise id.
Definition at line 66 of file class.ilExAssignment.php.
Referenced by delete(), save(), update(), and uploadAssignmentFiles().
|
static |
Get files.
Definition at line 395 of file class.ilExAssignment.php.
Referenced by ilObjBlogGUI\downloadExcAssFile(), ilObjPortfolioGUI\downloadExcAssFile(), ilObjBlogGUI\getExerciseInfo(), ilObjPortfolioGUI\getExerciseInfo(), and ilExAssignmentGUI\getOverviewBody().
ilExAssignment::getId | ( | ) |
Get assignment id.
Definition at line 46 of file class.ilExAssignment.php.
Referenced by update(), and uploadAssignmentFiles().
ilExAssignment::getInstruction | ( | ) |
Get instruction.
Definition at line 126 of file class.ilExAssignment.php.
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 1398 of file class.ilExAssignment.php.
References $ilDB, $lng, and ilUtil\getMySQLTimestamp().
Referenced by ilPublicSubmissionsTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), getMemberListData(), and ilExAssignmentGUI\getOverviewBody().
ilExAssignment::getMandatory | ( | ) |
Get mandatory.
Definition at line 166 of file class.ilExAssignment.php.
Referenced by save(), and update().
ilExAssignment::getMemberListData | ( | $a_exc_id, | |
$a_ass_id | |||
) |
get member list data
Definition at line 1508 of file class.ilExAssignment.php.
References $ilDB, ilObject\_exists(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilObject\_lookupType(), and getLastSubmission().
Referenced by ilExerciseMemberTableGUI\__construct(), and ilPublicSubmissionsTableGUI\__construct().
ilExAssignment::getOrderNr | ( | ) |
Get order nr.
Definition at line 186 of file class.ilExAssignment.php.
Referenced by save(), and update().
ilExAssignment::getStartTime | ( | ) |
Get start time (timestamp)
Definition at line 86 of file class.ilExAssignment.php.
Referenced by save(), and update().
ilExAssignment::getTitle | ( | ) |
Get title.
Definition at line 146 of file class.ilExAssignment.php.
References $title.
Referenced by save(), and update().
ilExAssignment::getType | ( | ) |
Get type.
Definition at line 209 of file class.ilExAssignment.php.
Referenced by save(), and update().
ilExAssignment::hasReturned | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: hasReturned($a_member_id)
Definition at line 815 of file class.ilExAssignment.php.
ilExAssignment::isValidType | ( | $a_value | ) |
Is given type valid?
int | $a_value |
Definition at line 220 of file class.ilExAssignment.php.
Referenced by setType().
|
staticprivate |
Private lookup.
Definition at line 441 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 1423 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilExerciseMemberTableGUI\__construct().
|
static |
Check if assignment is online.
int | $a_ass_id |
Definition at line 424 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 536 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 580 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilExerciseMemberTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), and ilExAssignmentGUI\getOverviewBody().
|
static |
Get time when feedback mail has been sent.
Definition at line 774 of file class.ilExAssignment.php.
References ilUtil\getMySQLTimestamp(), and lookupAssMemberField().
Referenced by ilExerciseMemberTableGUI\fillRow(), and ilExParticipantTableGUI\fillRow().
ilExAssignment::lookupMarkOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
Lookup user mark.
Definition at line 597 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilObjExercise\exportGradesExcel(), ilExerciseMemberTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\saveStatusObject().
|
static |
Select the maximum order nr for an exercise.
Definition at line 405 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 1481 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilExerciseMemberTableGUI\fillRow(), and ilExParticipantTableGUI\fillRow().
ilExAssignment::lookupNoticeOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: getNoticeByMember($a_member_id)
Definition at line 807 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilExerciseMemberTableGUI\fillRow(), and ilExParticipantTableGUI\fillRow().
|
static |
Get time when exercise has been sent per e-mail to user.
Definition at line 765 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 742 of file class.ilExAssignment.php.
References lookupAssMemberField().
ilExAssignment::lookupStatusOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: getStatusByMember
Definition at line 614 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilObjExercise\determinStatusOfUser(), ilObjExercise\exportGradesExcel(), ilExerciseMemberTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilExAssignmentGUI\getOverviewBody(), and ilExAssignmentGUI\getOverviewHeader().
ilExAssignment::lookupStatusReturnedOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: getStatusReturnedByMember($a_member_id)
Definition at line 705 of file class.ilExAssignment.php.
References lookupAssMemberField().
ilExAssignment::lookupStatusSentOfUser | ( | $a_ass_id, | |
$a_user_id | |||
) |
was: getStatusSentByMember($a_member_id)
Definition at line 668 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseMemberTableGUI\fillRow().
|
static |
Get status time.
Definition at line 783 of file class.ilExAssignment.php.
References ilUtil\getMySQLTimestamp(), and lookupAssMemberField().
Referenced by ilExerciseMemberTableGUI\fillRow(), and ilExParticipantTableGUI\fillRow().
|
static |
Lookup title.
Definition at line 457 of file class.ilExAssignment.php.
References lookup().
Referenced by ilExerciseMemberTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilObjExerciseGUI\confirmAssignmentsDeletionObject(), deliverReturnedFiles(), downloadAllDeliveredFiles(), downloadMultipleFiles(), ilObjExerciseGUI\executeCommand(), ilObjExerciseSubItemListGUI\getHTML(), ilExerciseMailNotification\send(), ilObjExercise\sendAssignment(), and ilObjExerciseGUI\setAssignmentHeader().
|
static |
Lookup type.
Definition at line 465 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 1448 of file class.ilExAssignment.php.
Referenced by ilExerciseMemberTableGUI\fillRow(), and ilExParticipantTableGUI\fillRow().
ilExAssignment::orderAssByDeadline | ( | $a_ex_id | ) |
Order assignments by deadline date.
Definition at line 495 of file class.ilExAssignment.php.
References $ilDB.
Referenced by ilObjExerciseGUI\orderAssignmentsByDeadlineObject().
ilExAssignment::read | ( | ) |
Read from db.
Definition at line 232 of file class.ilExAssignment.php.
References $ilDB, setDeadline(), setExerciseId(), setInstruction(), setMandatory(), setOrderNr(), setStartTime(), setTitle(), and setType().
Referenced by __construct().
ilExAssignment::save | ( | ) |
Save assignment.
Definition at line 255 of file class.ilExAssignment.php.
References $ilDB, createNewAssignmentRecords(), getDeadline(), getExerciseId(), getInstruction(), getMandatory(), getOrderNr(), getStartTime(), getTitle(), getType(), lookupMaxOrderNrForEx(), setId(), and setOrderNr().
ilExAssignment::saveAssOrderOfExercise | ( | $a_ex_id, | |
$a_order | |||
) |
Save ordering of all assignments of an exercise.
Definition at line 473 of file class.ilExAssignment.php.
Referenced by ilObjExerciseGUI\saveAssignmentOrderObject().
ilExAssignment::setDeadline | ( | $a_val | ) |
Set deadline (timestamp)
int | deadline (timestamp) |
Definition at line 96 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setExerciseId | ( | $a_val | ) |
Set exercise id.
int | exercise id |
Definition at line 56 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setId | ( | $a_val | ) |
Set assignment id.
int | assignment id |
Definition at line 36 of file class.ilExAssignment.php.
Referenced by __construct(), and save().
ilExAssignment::setInstruction | ( | $a_val | ) |
Set instruction.
string | instruction |
Definition at line 116 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setMandatory | ( | $a_val | ) |
Set mandatory.
int | mandatory |
Definition at line 156 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setOrderNr | ( | $a_val | ) |
Set order nr.
int | order nr |
Definition at line 176 of file class.ilExAssignment.php.
Referenced by read(), and save().
ilExAssignment::setStartTime | ( | $a_val | ) |
Set start time (timestamp)
int | start time (timestamp) |
Definition at line 76 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setTitle | ( | $a_val | ) |
Set title.
string | title |
Definition at line 136 of file class.ilExAssignment.php.
Referenced by read().
ilExAssignment::setType | ( | $a_value | ) |
Set type.
int | $a_value |
Definition at line 196 of file class.ilExAssignment.php.
References isValidType().
Referenced by __construct(), and read().
ilExAssignment::update | ( | ) |
Update.
Definition at line 287 of file class.ilExAssignment.php.
References $ilDB, getDeadline(), getExerciseId(), getId(), getInstruction(), getMandatory(), getOrderNr(), getStartTime(), getTitle(), and getType().
|
private |
Update a field value of ass/member table.
Definition at line 552 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 588 of file class.ilExAssignment.php.
References updateAssMemberField().
Referenced by ilObjExerciseGUI\saveStatusObject(), and ilExerciseXMLParser\updateMarking().
ilExAssignment::updateMarkOfUser | ( | $a_ass_id, | |
$a_user_id, | |||
$a_value | |||
) |
Update mark.
Definition at line 605 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 1358 of file class.ilExAssignment.php.
References $ilDB, and ilUtil\now().
Referenced by ilObjExerciseGUI\saveStatusObject(), and ilExerciseXMLParser\updateMarking().
ilExAssignment::updateStatusFeedbackForUser | ( | $a_ass_id, | |
$a_user_id, | |||
$a_status | |||
) |
was: setStatusFeedbackForMember($a_member_id,$a_status)
Definition at line 750 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 627 of file class.ilExAssignment.php.
References $ilDB, ilUtil\now(), and ilObjExercise\updateUserStatus().
Referenced by 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 713 of file class.ilExAssignment.php.
References $ilDB, and ilUtil\now().
Referenced by ilObjExercise\addResourceObject(), ilObjExercise\deleteDeliveredFiles(), and ilObjExercise\deliverFile().
ilExAssignment::updateStatusSentForUser | ( | $a_ass_id, | |
$a_user_id, | |||
$a_status | |||
) |
was: setStatusSentForMember($a_member_id,$a_status)
Definition at line 676 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 645 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 1060 of file class.ilExAssignment.php.
References $ilDB, and ilUtil\now().
Referenced by deliverReturnedFiles(), and ilObjExerciseGUI\downloadAllObject().
ilExAssignment::uploadAssignmentFiles | ( | $a_files | ) |
Upload assignment files (from creation form)
Definition at line 1599 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
const ilExAssignment::TYPE_BLOG = 2 |
Definition at line 14 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), downloadAllDeliveredFiles(), downloadSelectedFiles(), ilExerciseMemberTableGUI\fillRow(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\initAssignmentForm().
const ilExAssignment::TYPE_PORTFOLIO = 3 |
Definition at line 15 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), downloadAllDeliveredFiles(), downloadSelectedFiles(), ilExerciseMemberTableGUI\fillRow(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\initAssignmentForm().
const ilExAssignment::TYPE_UPLOAD = 1 |
Definition at line 13 of file class.ilExAssignment.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilExerciseMemberTableGUI\fillRow(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\initAssignmentForm().