|
ILIAS
release_4-3 Revision
|
Exercise assignment. More...
Collaboration diagram for ilExAssignment: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, $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) | |
| 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. | |
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. | |
Data Fields | |
| const | TYPE_UPLOAD = 1 |
| const | TYPE_BLOG = 2 |
| const | TYPE_PORTFOLIO = 3 |
| const | TYPE_UPLOAD_TEAM = 4 |
| 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 |
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 1494 of file class.ilExAssignment.php.
| ilExAssignment::addTeamMember | ( | $a_team_id, | |
| $a_user_id, | |||
| $a_exc_ref_id | |||
| ) |
Add new member to team.
| int | $a_team_id | |
| int | $a_user_id | |
| int | $a_exc_ref_id |
Definition at line 1845 of file class.ilExAssignment.php.
References ilObjUser\_lookupFullname(), getId(), getTeamMembers(), sendNotification(), and writeTeamLog().
Here is the call graph for this function:| ilExAssignment::cloneAssignmentsOfExercise | ( | $a_old_exc_id, | |
| $a_new_exc_id | |||
| ) |
Clone assignments of exercise.
| @return |
Definition at line 370 of file class.ilExAssignment.php.
References $d, ilFSStorageExercise\create(), getAssignmentDataOfExercise(), and ilUtil\rCopy().
Referenced by ilObjExercise\cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::countMandatory | ( | $a_ex_id | ) |
Order assignments by deadline date.
Definition at line 525 of file class.ilExAssignment.php.
Referenced by ilObjExerciseGUI\initEditCustomForm().
Here is the caller graph for this function:
|
static |
Create member status record for a new assignment for all participants.
Definition at line 1718 of file class.ilExAssignment.php.
Referenced by save().
Here is the caller graph for this function:
|
static |
Create member status record for a new participant for all assignments.
Definition at line 1698 of file class.ilExAssignment.php.
References getAssignmentDataOfExercise().
Referenced by ilExerciseMembers\assignMember().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::delete | ( | ) |
Delete assignment.
Definition at line 320 of file class.ilExAssignment.php.
References getExerciseId().
Here is the call graph for this function:
|
static |
Delete all delivered files of user.
| int | $a_exc_id | excercise id |
| int | $a_user_id | user id |
Definition at line 982 of file class.ilExAssignment.php.
References $d, $filename, getTeamMembersByAssignmentId(), TYPE_UPLOAD_TEAM, and updateStatusOfUser().
Here is the call graph for this function:| 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 914 of file class.ilExAssignment.php.
References $filename, $result, $row, getTeamIdByAssignment(), getTeamMembersByAssignmentId(), TEAM_LOG_REMOVE_FILE, and writeTeamLog().
Referenced by ilObjExerciseGUI\removeExistingSubmissions().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 1061 of file class.ilExAssignment.php.
References $ilUser, $query, $result, $row, ilObjUser\_lookupName(), ilObject\_lookupTitle(), downloadMultipleFiles(), downloadSingleFile(), getTeamMembersByAssignmentId(), lookupTitle(), and updateTutorDownloadTime().
Referenced by ilObjExerciseGUI\downloadNewReturnedObject(), and ilObjExerciseGUI\downloadReturnedObject().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 1337 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 1247 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 1167 of file class.ilExAssignment.php.
References $result, $row, ilObjUser\_lookupName(), ilObject\_lookupTitle(), downloadMultipleFiles(), downloadSingleFile(), getTeamMembersByAssignmentId(), TYPE_BLOG, and TYPE_PORTFOLIO.
Referenced by ilObjExerciseGUI\downloadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::downloadSingleFile | ( | $a_exc_id, | |
| $a_ass_id, | |||
| $a_user_id, | |||
| $filename, | |||
| $filetitle | |||
| ) |
was: downloadSingleFile($filename, $filetitle)
Definition at line 1231 of file class.ilExAssignment.php.
References $filename, and ilUtil\deliverFile().
Referenced by deliverReturnedFiles(), and downloadSelectedFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::getAllDeliveredFiles | ( | $a_exc_id, | |
| $a_ass_id | |||
| ) |
Definition at line 842 of file class.ilExAssignment.php.
References $query, $res, and $row.
Referenced by ilExerciseMemberTableGUI\__construct(), and ilObjExerciseGUI\getAssignmentValues().
Here is the caller graph for this function:
|
static |
Get assignments data of an exercise in an array.
Definition at line 335 of file class.ilExAssignment.php.
References $data.
Referenced by ilAssignmentsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilObjExerciseGUI\addMembersObject(), cloneAssignmentsOfExercise(), createNewUserRecords(), ilObjExercise\determinStatusOfUser(), ilObjExercise\exportGradesExcel(), ilExerciseXMLParser\ilExerciseXMLParser(), ilObjExerciseGUI\infoScreen(), ilObjExerciseGUI\membersObject(), ilObjExerciseGUI\showOverviewObject(), ilObjExerciseGUI\showParticipantObject(), and ilExerciseXMLWriter\start().
Here is the caller graph for this function:
|
static |
Get team structure for assignment.
| int | $a_ass_id |
Definition at line 1949 of file class.ilExAssignment.php.
References $row.
Referenced by ilExerciseMemberTableGUI\__construct().
Here is the caller graph for this function:| ilExAssignment::getDeadline | ( | ) |
Get deadline (timestamp)
Definition at line 113 of file class.ilExAssignment.php.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::getDeliveredFiles | ( | $a_exc_id, | |
| $a_ass_id, | |||
| $a_user_id, | |||
$a_filter_empty_filename = false |
|||
| ) |
was: getDeliveredFiles($a_member_id)
Definition at line 869 of file class.ilExAssignment.php.
References $result, $row, and getTeamMembersByAssignmentId().
Referenced by ilObjExerciseGUI\confirmDeleteDeliveredObject(), ilObjExerciseGUI\confirmRemoveTeamMemberObject(), ilObjExercise\deleteDeliveredFiles(), ilObjBlogGUI\downloadExcSubFile(), ilObjPortfolioGUI\downloadExcSubFile(), ilPublicSubmissionsTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), ilObjBlogGUI\getExerciseInfo(), ilObjPortfolioGUI\getExerciseInfo(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\removeExistingSubmissions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::getExerciseId | ( | ) |
Get exercise id.
Definition at line 73 of file class.ilExAssignment.php.
Referenced by delete(), save(), sendNotification(), update(), and uploadAssignmentFiles().
Here is the caller graph for this function:
|
static |
Get files.
Definition at line 403 of file class.ilExAssignment.php.
Referenced by ilObjBlogGUI\downloadExcAssFile(), ilObjPortfolioGUI\downloadExcAssFile(), ilObjBlogGUI\getExerciseInfo(), ilObjPortfolioGUI\getExerciseInfo(), and ilExAssignmentGUI\getOverviewBody().
Here is the caller graph for this function:| ilExAssignment::getId | ( | ) |
Get assignment id.
Definition at line 53 of file class.ilExAssignment.php.
Referenced by addTeamMember(), getMembersOfAllTeams(), getTeamId(), getTeamMembers(), removeTeamMember(), update(), and uploadAssignmentFiles().
Here is the caller graph for this function:| ilExAssignment::getInstruction | ( | ) |
Get instruction.
Definition at line 133 of file class.ilExAssignment.php.
Referenced by save(), and update().
Here is the caller graph for this function:
|
static |
Get the date of the last submission of a user for the assignment.
| int | Assignment ID |
| int | User ID |
Definition at line 1518 of file class.ilExAssignment.php.
References $lng, ilUtil\getMySQLTimestamp(), and getTeamMembersByAssignmentId().
Referenced by ilPublicSubmissionsTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), getMemberListData(), and ilExAssignmentGUI\getOverviewBody().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::getMandatory | ( | ) |
Get mandatory.
Definition at line 173 of file class.ilExAssignment.php.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::getMemberListData | ( | $a_exc_id, | |
| $a_ass_id | |||
| ) |
get member list data
Definition at line 1650 of file class.ilExAssignment.php.
References ilObject\_exists(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilObject\_lookupType(), and getLastSubmission().
Referenced by ilExerciseMemberTableGUI\__construct(), and ilPublicSubmissionsTableGUI\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::getMembersOfAllTeams | ( | ) |
Get members for all teams of assignment.
Definition at line 1820 of file class.ilExAssignment.php.
Here is the call graph for this function:| ilExAssignment::getOrderNr | ( | ) |
Get order nr.
Definition at line 193 of file class.ilExAssignment.php.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::getStartTime | ( | ) |
Get start time (timestamp)
Definition at line 93 of file class.ilExAssignment.php.
Referenced by save(), and update().
Here is the caller graph for this function:| 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 1762 of file class.ilExAssignment.php.
References $row, ilObjUser\_lookupFullname(), getId(), and writeTeamLog().
Here is the call graph for this function:
|
static |
Find team by assignment.
| int | $a_ass_id | |
| int | $a_user_id |
Definition at line 1923 of file class.ilExAssignment.php.
References $result.
Referenced by deleteDeliveredFiles(), ilObjExercise\deliverFile(), getTeamMembersByAssignmentId(), and ilObjExerciseGUI\showTeamLogObject().
Here is the caller graph for this function:
|
static |
Get all log entries for team.
| int | $a_team_id |
Definition at line 1994 of file class.ilExAssignment.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
Here is the caller graph for this function:| ilExAssignment::getTeamMembers | ( | $a_team_id | ) |
Get members of assignment team.
| int | $a_team_id |
Definition at line 1796 of file class.ilExAssignment.php.
Referenced by addTeamMember().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Find team members by assignment and team member.
| int | $a_ass_id | |
| int | $a_user_id |
Definition at line 1894 of file class.ilExAssignment.php.
References $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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::getTitle | ( | ) |
Get title.
Definition at line 153 of file class.ilExAssignment.php.
References $title.
Referenced by save(), sendNotification(), and update().
Here is the caller graph for this function:| ilExAssignment::getType | ( | ) |
Get type.
Definition at line 216 of file class.ilExAssignment.php.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignment::hasReturned | ( | $a_ass_id, | |
| $a_user_id | |||
| ) |
was: hasReturned($a_member_id)
Definition at line 823 of file class.ilExAssignment.php.
References $result, and getTeamMembersByAssignmentId().
Here is the call graph for this function:| ilExAssignment::isValidType | ( | $a_value | ) |
Is given type valid?
| int | $a_value |
Definition at line 227 of file class.ilExAssignment.php.
Referenced by setType().
Here is the caller graph for this function:
|
staticprivate |
Private lookup.
Definition at line 449 of file class.ilExAssignment.php.
Referenced by lookupTitle(), and lookupType().
Here is the caller graph for this function:
|
static |
Check whether exercise has been sent to any student per mail.
Definition at line 1552 of file class.ilExAssignment.php.
Referenced by ilExerciseMemberTableGUI\__construct().
Here is the caller graph for this function:
|
static |
Check if assignment is online.
| int | $a_ass_id |
Definition at line 432 of file class.ilExAssignment.php.
Referenced by ilObjExerciseSubItemListGUI\isAssignmentVisible().
Here is the caller graph for this function:
|
private |
Lookup a field value of ass/member table.
Definition at line 544 of file class.ilExAssignment.php.
Referenced by lookupCommentForUser(), lookupFeedbackTimeOfUser(), lookupMarkOfUser(), lookupNoticeOfUser(), lookupSentTimeOfUser(), lookupStatusFeedbackOfUser(), lookupStatusOfUser(), lookupStatusReturnedOfUser(), lookupStatusSentOfUser(), and lookupStatusTimeOfUser().
Here is the caller graph for this function:| ilExAssignment::lookupCommentForUser | ( | $a_ass_id, | |
| $a_user_id | |||
| ) |
Lookup comment for the user.
Definition at line 588 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilExParticipantTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), and ilExAssignmentGUI\getOverviewBody().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get time when feedback mail has been sent.
Definition at line 782 of file class.ilExAssignment.php.
References ilUtil\getMySQLTimestamp(), and lookupAssMemberField().
Referenced by ilExParticipantTableGUI\fillRow(), and ilExerciseMemberTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::lookupMarkOfUser | ( | $a_ass_id, | |
| $a_user_id | |||
| ) |
Lookup user mark.
Definition at line 605 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilObjExercise\exportGradesExcel(), ilExParticipantTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), ilExAssignmentGUI\getOverviewBody(), and ilObjExerciseGUI\saveStatusObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Select the maximum order nr for an exercise.
Definition at line 413 of file class.ilExAssignment.php.
Referenced by save().
Here is the caller graph for this function:
|
static |
Check how much files have been uploaded by the learner after the last download of the tutor.
Definition at line 1616 of file class.ilExAssignment.php.
References $ilUser, and getTeamMembersByAssignmentId().
Referenced by ilExParticipantTableGUI\fillRow(), and ilExerciseMemberTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::lookupNoticeOfUser | ( | $a_ass_id, | |
| $a_user_id | |||
| ) |
was: getNoticeByMember($a_member_id)
Definition at line 815 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilExParticipantTableGUI\fillRow(), and ilExerciseMemberTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get time when exercise has been sent per e-mail to user.
Definition at line 773 of file class.ilExAssignment.php.
References ilUtil\getMySQLTimestamp(), and lookupAssMemberField().
Referenced by ilExerciseMemberTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::lookupStatusFeedbackOfUser | ( | $a_ass_id, | |
| $a_user_id | |||
| ) |
was: getStatusFeedbackByMember($a_member_id)
Definition at line 750 of file class.ilExAssignment.php.
References lookupAssMemberField().
Here is the call graph for this function:| ilExAssignment::lookupStatusOfUser | ( | $a_ass_id, | |
| $a_user_id | |||
| ) |
was: getStatusByMember
Definition at line 622 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseXMLWriter\attachMarking(), ilObjExercise\determinStatusOfUser(), ilObjExercise\exportGradesExcel(), ilExParticipantTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), ilExAssignmentGUI\getOverviewBody(), and ilExAssignmentGUI\getOverviewHeader().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::lookupStatusReturnedOfUser | ( | $a_ass_id, | |
| $a_user_id | |||
| ) |
was: getStatusReturnedByMember($a_member_id)
Definition at line 713 of file class.ilExAssignment.php.
References lookupAssMemberField().
Here is the call graph for this function:| ilExAssignment::lookupStatusSentOfUser | ( | $a_ass_id, | |
| $a_user_id | |||
| ) |
was: getStatusSentByMember($a_member_id)
Definition at line 676 of file class.ilExAssignment.php.
References lookupAssMemberField().
Referenced by ilExerciseMemberTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get status time.
Definition at line 791 of file class.ilExAssignment.php.
References ilUtil\getMySQLTimestamp(), and lookupAssMemberField().
Referenced by ilExParticipantTableGUI\fillRow(), and ilExerciseMemberTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup title.
Definition at line 465 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup type.
Definition at line 473 of file class.ilExAssignment.php.
References lookup().
Referenced by ilExerciseMemberTableGUI\__construct(), and downloadAllDeliveredFiles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check whether student has upload new files after tutor has set the exercise to another than notgraded.
Definition at line 1577 of file class.ilExAssignment.php.
References $lng, and getTeamMembersByAssignmentId().
Referenced by ilExParticipantTableGUI\fillRow(), and ilExerciseMemberTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::orderAssByDeadline | ( | $a_ex_id | ) |
Order assignments by deadline date.
Definition at line 503 of file class.ilExAssignment.php.
Referenced by ilObjExerciseGUI\orderAssignmentsByDeadlineObject().
Here is the caller graph for this function:| ilExAssignment::read | ( | ) |
Read from db.
Definition at line 240 of file class.ilExAssignment.php.
References setDeadline(), setExerciseId(), setInstruction(), setMandatory(), setOrderNr(), setStartTime(), setTitle(), and setType().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 1871 of file class.ilExAssignment.php.
References ilObjUser\_lookupFullname(), getId(), sendNotification(), and writeTeamLog().
Here is the call graph for this function:| ilExAssignment::save | ( | ) |
Save assignment.
Definition at line 263 of file class.ilExAssignment.php.
References createNewAssignmentRecords(), getDeadline(), getExerciseId(), getInstruction(), getMandatory(), getOrderNr(), getStartTime(), getTitle(), getType(), lookupMaxOrderNrForEx(), setId(), and setOrderNr().
Here is the call graph for this function:| ilExAssignment::saveAssOrderOfExercise | ( | $a_ex_id, | |
| $a_order | |||
| ) |
Save ordering of all assignments of an exercise.
Definition at line 481 of file class.ilExAssignment.php.
References $t.
Referenced by ilObjExerciseGUI\saveAssignmentOrderObject().
Here is the caller graph for this function:| 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 2018 of file class.ilExAssignment.php.
References $ilUser, $ret, ilLanguageFactory\_getLanguageOfUser(), ilLink\_getStaticLink(), ilObjUser\_lookupFullname(), ilObjUser\_lookupLogin(), ilObject\_lookupTitle(), getExerciseId(), ilUserUtil\getNamePresentation(), and getTitle().
Referenced by addTeamMember(), and removeTeamMember().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::setDeadline | ( | $a_val | ) |
Set deadline (timestamp)
| int | deadline (timestamp) |
Definition at line 103 of file class.ilExAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilExAssignment::setExerciseId | ( | $a_val | ) |
Set exercise id.
| int | exercise id |
Definition at line 63 of file class.ilExAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilExAssignment::setId | ( | $a_val | ) |
Set assignment id.
| int | assignment id |
Definition at line 43 of file class.ilExAssignment.php.
Referenced by __construct(), and save().
Here is the caller graph for this function:| ilExAssignment::setInstruction | ( | $a_val | ) |
Set instruction.
| string | instruction |
Definition at line 123 of file class.ilExAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilExAssignment::setMandatory | ( | $a_val | ) |
Set mandatory.
| int | mandatory |
Definition at line 163 of file class.ilExAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilExAssignment::setOrderNr | ( | $a_val | ) |
Set order nr.
| int | order nr |
Definition at line 183 of file class.ilExAssignment.php.
Referenced by read(), and save().
Here is the caller graph for this function:| ilExAssignment::setStartTime | ( | $a_val | ) |
Set start time (timestamp)
| int | start time (timestamp) |
Definition at line 83 of file class.ilExAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilExAssignment::setTitle | ( | $a_val | ) |
Set title.
| string | title |
Definition at line 143 of file class.ilExAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilExAssignment::setType | ( | $a_value | ) |
Set type.
| int | $a_value |
Definition at line 203 of file class.ilExAssignment.php.
References isValidType().
Referenced by __construct(), and read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::update | ( | ) |
Update.
Definition at line 295 of file class.ilExAssignment.php.
References getDeadline(), getExerciseId(), getId(), getInstruction(), getMandatory(), getOrderNr(), getStartTime(), getTitle(), and getType().
Here is the call graph for this function:
|
private |
Update a field value of ass/member table.
Definition at line 560 of file class.ilExAssignment.php.
Referenced by updateCommentForUser(), updateMarkOfUser(), and updateStatusTimeOfUser().
Here is the caller graph for this function:| ilExAssignment::updateCommentForUser | ( | $a_ass_id, | |
| $a_user_id, | |||
| $a_value | |||
| ) |
Update comment.
Definition at line 596 of file class.ilExAssignment.php.
References updateAssMemberField().
Referenced by ilObjExerciseGUI\saveStatusObject(), and ilExerciseXMLParser\updateMarking().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::updateMarkOfUser | ( | $a_ass_id, | |
| $a_user_id, | |||
| $a_value | |||
| ) |
Update mark.
Definition at line 613 of file class.ilExAssignment.php.
References updateAssMemberField().
Referenced by ilObjExerciseGUI\saveStatusObject(), and ilExerciseXMLParser\updateMarking().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::updateNoticeForUser | ( | $a_ass_id, | |
| $a_user_id, | |||
| $a_notice | |||
| ) |
was: setNoticeForMember($a_member_id,$a_notice)
Definition at line 1478 of file class.ilExAssignment.php.
References ilUtil\now().
Referenced by ilObjExerciseGUI\saveStatusObject(), and ilExerciseXMLParser\updateMarking().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::updateStatusFeedbackForUser | ( | $a_ass_id, | |
| $a_user_id, | |||
| $a_status | |||
| ) |
was: setStatusFeedbackForMember($a_member_id,$a_status)
Definition at line 758 of file class.ilExAssignment.php.
References ilUtil\now().
Referenced by ilObjExerciseGUI\redirectFeedbackMailObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::updateStatusOfUser | ( | $a_ass_id, | |
| $a_user_id, | |||
| $a_status | |||
| ) |
was: setStatusForMember($a_member_id,$a_status)
Definition at line 635 of file class.ilExAssignment.php.
References ilUtil\now(), and ilObjExercise\updateUserStatus().
Referenced by deleteAllDeliveredFilesOfUser(), ilObjExercise\handleSubmission(), ilObjExerciseGUI\saveStatusObject(), and ilExerciseXMLParser\updateMarking().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::updateStatusReturnedForUser | ( | $a_ass_id, | |
| $a_user_id, | |||
| $a_status | |||
| ) |
was: setStatusReturnedForMember($a_member_id,$a_status)
Definition at line 721 of file class.ilExAssignment.php.
References ilUtil\now().
Referenced by ilObjExercise\addResourceObject(), ilObjExerciseGUI\addTeamMemberActionObject(), ilObjExerciseGUI\addTeamMemberContainerActionObject(), ilObjExercise\deleteDeliveredFiles(), ilObjExercise\deliverFile(), and ilObjExerciseGUI\removeTeamMemberObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::updateStatusSentForUser | ( | $a_ass_id, | |
| $a_user_id, | |||
| $a_status | |||
| ) |
was: setStatusSentForMember($a_member_id,$a_status)
Definition at line 684 of file class.ilExAssignment.php.
References ilUtil\now().
Referenced by ilObjExercise\sendAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::updateStatusTimeOfUser | ( | $a_ass_id, | |
| $a_user_id | |||
| ) |
was: updateStatusTimeForMember($a_user_id)
Definition at line 653 of file class.ilExAssignment.php.
References ilUtil\now(), and updateAssMemberField().
Referenced by ilObjExerciseGUI\saveStatusObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::updateTutorDownloadTime | ( | $a_exc_id, | |
| $a_ass_id, | |||
| $a_user_id | |||
| ) |
was: updateTutorDownloadTime($member_id)
Definition at line 1149 of file class.ilExAssignment.php.
References $ilUser, and ilUtil\now().
Referenced by deliverReturnedFiles(), and ilObjExerciseGUI\downloadAllObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignment::uploadAssignmentFiles | ( | $a_files | ) |
Upload assignment files (from creation form)
Definition at line 1741 of file class.ilExAssignment.php.
References getExerciseId(), and getId().
Here is the call graph for this function:
|
static |
Add entry to team log.
| int | $a_team_id | |
| int | $a_action | |
| string | $a_details |
Definition at line 1973 of file class.ilExAssignment.php.
References $ilUser.
Referenced by addTeamMember(), deleteDeliveredFiles(), ilObjExercise\deliverFile(), getTeamId(), and removeTeamMember().
Here is the caller graph for this function:| const ilExAssignment::TEAM_LOG_ADD_FILE = 4 |
Definition at line 21 of file class.ilExAssignment.php.
Referenced by ilObjExercise\deliverFile(), and ilExAssignmentTeamLogTableGUI\getItems().
| const ilExAssignment::TEAM_LOG_ADD_MEMBER = 2 |
Definition at line 19 of file class.ilExAssignment.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
| const ilExAssignment::TEAM_LOG_CREATE_TEAM = 1 |
Definition at line 18 of file class.ilExAssignment.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
| const ilExAssignment::TEAM_LOG_REMOVE_FILE = 5 |
Definition at line 22 of file class.ilExAssignment.php.
Referenced by deleteDeliveredFiles(), and ilExAssignmentTeamLogTableGUI\getItems().
| const ilExAssignment::TEAM_LOG_REMOVE_MEMBER = 3 |
Definition at line 20 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(), 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().
| const ilExAssignment::TYPE_UPLOAD_TEAM = 4 |
Definition at line 16 of file class.ilExAssignment.php.
Referenced by ilExcDeliveredFilesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilObjExerciseGUI\addMembersObject(), ilObjExerciseGUI\confirmDeassignMembersObject(), deleteAllDeliveredFilesOfUser(), ilObjExerciseGUI\downloadFeedbackFileObject(), ilObjExerciseGUI\executeCommand(), ilExcDeliveredFilesTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), ilExAssignmentGUI\getOverviewBody(), ilObjExerciseGUI\initAssignmentForm(), ilObjExerciseGUI\initTeamSubmission(), ilObjExerciseGUI\redirectFeedbackMailObject(), ilObjExerciseGUI\saveStatusObject(), and ilObjExerciseGUI\sendMembersObject().