|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilExAssignmentEditorGUI. More...
Collaboration diagram for ilExAssignmentEditorGUI:Public Member Functions | |
| __construct ($a_exercise_id, $a_enable_peer_review_completion_settings, ilExAssignment $a_ass=null) | |
| Constructor. More... | |
| executeCommand () | |
| listAssignmentsObject () | |
| List assignments. More... | |
| addAssignmentObject () | |
| Create assignment. More... | |
| saveAssignmentObject () | |
| Save assignment. More... | |
| editAssignmentObject () | |
| Edit assignment. More... | |
| getAssignmentValues (ilPropertyFormGUI $a_form) | |
| Get current values for assignment from. More... | |
| updateAssignmentObject () | |
| Update assignment. More... | |
| confirmAssignmentsDeletionObject () | |
| Confirm assignments deletion. More... | |
| deleteAssignmentsObject () | |
| Delete assignments. More... | |
| saveAssignmentOrderObject () | |
| Save assignments order. More... | |
| orderAssignmentsByDeadlineObject () | |
| Order by deadline. More... | |
| setAssignmentHeader () | |
| Set assignment header. More... | |
| downloadGlobalFeedbackFileObject () | |
| editPeerReviewObject (ilPropertyFormGUI $a_form=null) | |
| validationTeamsFormation ($a_num_teams, $a_min_participants, $a_max_participants) | |
| getExerciseTotalMembers () | |
| Get the total number of exercise members. More... | |
| generateTeams (ilExAssignment $a_assignment, $a_input) | |
Protected Member Functions | |
| getTypeDropdown () | |
| Get type selection dropdown. More... | |
| initAssignmentForm ($a_type, $a_mode="create") | |
| Init assignment form. More... | |
| processForm (ilPropertyFormGUI $a_form) | |
| Custom form validation. More... | |
| importFormToAssignment (ilExAssignment $a_ass, array $a_input) | |
| Import form values to assignment. More... | |
| importFormToAssignmentReminders ($a_input, $a_ass_id) | |
| importPeerReviewFormToAssignmentReminders ($a_input, $a_ass_id) | |
| saveReminderData (ilExAssignmentReminder $reminder, $a_input) | |
| setDisabledFieldValues (ilPropertyFormGUI $a_form) | |
| handleDisabledFields (ilPropertyFormGUI $a_form, $a_force_set_values=false) | |
| initPeerReviewForm () | |
| getPeerReviewValues ($a_form) | |
| setDisabledPeerReviewFieldValues (ilPropertyFormGUI $a_form) | |
| handleDisabledPeerFields (ilPropertyFormGUI $a_form, $a_force_set_values=false) | |
| processPeerReviewForm (ilPropertyFormGUI $a_form) | |
| importPeerReviewFormToAssignment (ilExAssignment $a_ass, array $a_input) | |
| updatePeerReviewObject () | |
Protected Attributes | |
| $ctrl | |
| $tabs | |
| $lng | |
| $tpl | |
| $toolbar | |
| $settings | |
| $help | |
| $exercise_id | |
| $assignment | |
| $enable_peer_review_completion | |
| $types | |
| $random_manager | |
| $exc | |
Class ilExAssignmentEditorGUI.
@ilCtrl_Calls ilExAssignmentEditorGUI: ilExAssignmentFileSystemGUI, ilExPeerReviewGUI, ilPropertyFormGUI
Definition at line 14 of file class.ilExAssignmentEditorGUI.php.
| ilExAssignmentEditorGUI::__construct | ( | $a_exercise_id, | |
| $a_enable_peer_review_completion_settings, | |||
| ilExAssignment | $a_ass = null |
||
| ) |
Constructor.
| int | $a_exercise_id | |
| bool | $a_enable_peer_review_completion_settings | |
| ilExAssignment | $a_ass |
Definition at line 90 of file class.ilExAssignmentEditorGUI.php.
References $DIC, ilExAssignmentTypes\getInstance(), ilExAssignmentTypesGUI\getInstance(), help(), and settings().
Here is the call graph for this function:| ilExAssignmentEditorGUI::addAssignmentObject | ( | ) |
Create assignment.
Definition at line 187 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ctrl, $ilCtrl, $tpl, and initAssignmentForm().
Here is the call graph for this function:| ilExAssignmentEditorGUI::confirmAssignmentsDeletionObject | ( | ) |
Confirm assignments deletion.
Definition at line 1237 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $i, $ilCtrl, $lng, $tpl, ilExAssignment\lookupTitle(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilExAssignmentEditorGUI::deleteAssignmentsObject | ( | ) |
Delete assignments.
Definition at line 1264 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilExAssignmentEditorGUI::downloadGlobalFeedbackFileObject | ( | ) |
Definition at line 1357 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, and ilUtil\deliverFile().
Here is the call graph for this function:| ilExAssignmentEditorGUI::editAssignmentObject | ( | ) |
Edit assignment.
Definition at line 1027 of file class.ilExAssignmentEditorGUI.php.
References $tpl.
| ilExAssignmentEditorGUI::editPeerReviewObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1507 of file class.ilExAssignmentEditorGUI.php.
References $tpl.
| ilExAssignmentEditorGUI::executeCommand | ( | ) |
Definition at line 113 of file class.ilExAssignmentEditorGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tabs, initAssignmentForm(), and setAssignmentHeader().
Here is the call graph for this function:| ilExAssignmentEditorGUI::generateTeams | ( | ilExAssignment | $a_assignment, |
| $a_input | |||
| ) |
| ilExAssignment | $a_assignment | |
| array | $a_input |
Definition at line 1810 of file class.ilExAssignmentEditorGUI.php.
References ilExAssignmentTeam\adoptTeams(), ilExAssignmentTeam\getAssignmentTeamMap(), ilExAssignment\getAssignmentType(), ilExAssignment\getId(), ilUtil\sendInfo(), ilExAssignment\TEAMS_FORMED_BY_ASSIGNMENT, ilExAssignment\TEAMS_FORMED_BY_RANDOM, and ilExAssignment\TEAMS_FORMED_BY_TUTOR.
Here is the call graph for this function:| ilExAssignmentEditorGUI::getAssignmentValues | ( | ilPropertyFormGUI | $a_form | ) |
Get current values for assignment from.
Definition at line 1043 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, ilPropertyFormGUI\getItemByPostVar(), ilExAssignmentReminder\GRADE_REMINDER, IL_CAL_UNIX, ilPropertyFormGUI\setValuesByArray(), and ilExAssignmentReminder\SUBMIT_REMINDER.
Here is the call graph for this function:| ilExAssignmentEditorGUI::getExerciseTotalMembers | ( | ) |
Get the total number of exercise members.
Definition at line 1798 of file class.ilExAssignmentEditorGUI.php.
References $exercise.
Referenced by initAssignmentForm().
Here is the caller graph for this function:
|
protected |
Definition at line 1523 of file class.ilExAssignmentEditorGUI.php.
References ilExAssignmentReminder\FEEDBACK_REMINDER, and IL_CAL_UNIX.
|
protected |
Get type selection dropdown.
Definition at line 208 of file class.ilExAssignmentEditorGUI.php.
Referenced by initAssignmentForm(), and listAssignmentsObject().
Here is the caller graph for this function:
|
protected |
Definition at line 1158 of file class.ilExAssignmentEditorGUI.php.
References ilPropertyFormGUI\getItemByPostVar().
Here is the call graph for this function:
|
protected |
Definition at line 1572 of file class.ilExAssignmentEditorGUI.php.
References ilPropertyFormGUI\addItem(), and ilPropertyFormGUI\getItemByPostVar().
Here is the call graph for this function:
|
protected |
Import form values to assignment.
| ilExAssignment | $a_ass | |
| array | $a_input |
Definition at line 877 of file class.ilExAssignmentEditorGUI.php.
References ilExAssignment\deleteGlobalFeedbackFile(), ilExAssignment\getId(), ilExAssignment\handleGlobalFeedbackFileUpload(), importFormToAssignmentReminders(), ilExAssignment\PEER_REVIEW_VALID_NONE, ilExAssignment\save(), ilExAssignment\setDeadline(), ilExAssignment\setDeadlineMode(), ilExAssignment\setExtendedDeadline(), ilExAssignment\setFeedbackCron(), ilExAssignment\setFeedbackDate(), ilExAssignment\setFeedbackDateCustom(), ilExAssignment\setFeedbackFile(), ilExAssignment\setInstruction(), ilExAssignment\setMandatory(), ilExAssignment\setMaxFile(), ilExAssignment\setPeerReview(), ilExAssignment\setPeerReviewFileUpload(), ilExAssignment\setPeerReviewMin(), ilExAssignment\setPeerReviewPersonalized(), ilExAssignment\setPeerReviewRating(), ilExAssignment\setPeerReviewSimpleUnlock(), ilExAssignment\setPeerReviewText(), ilExAssignment\setPeerReviewValid(), ilExAssignment\setRelativeDeadline(), ilExAssignment\setRelDeadlineLastSubmission(), ilExAssignment\setStartTime(), ilExAssignment\setTeamTutor(), ilExAssignment\setTitle(), ilExAssignment\update(), and ilExAssignment\uploadAssignmentFiles().
Here is the call graph for this function:
|
protected |
Definition at line 951 of file class.ilExAssignmentEditorGUI.php.
References ilExAssignmentReminder\GRADE_REMINDER, saveReminderData(), and ilExAssignmentReminder\SUBMIT_REMINDER.
Referenced by importFormToAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1697 of file class.ilExAssignmentEditorGUI.php.
References ilExAssignment\getId(), ilExAssignment\PEER_REVIEW_VALID_NONE, ilExAssignment\setPeerReviewChars(), ilExAssignment\setPeerReviewCriteriaCatalogue(), ilExAssignment\setPeerReviewDeadline(), ilExAssignment\setPeerReviewFileUpload(), ilExAssignment\setPeerReviewMin(), ilExAssignment\setPeerReviewPersonalized(), ilExAssignment\setPeerReviewRating(), ilExAssignment\setPeerReviewSimpleUnlock(), ilExAssignment\setPeerReviewText(), ilExAssignment\setPeerReviewValid(), and ilExAssignment\update().
Here is the call graph for this function:
|
protected |
Definition at line 961 of file class.ilExAssignmentEditorGUI.php.
References ilExAssignmentReminder\FEEDBACK_REMINDER, and saveReminderData().
Here is the call graph for this function:
|
protected |
Init assignment form.
| int | $a_type | |
| int | $a_mode | "create"/"edit" |
Definition at line 229 of file class.ilExAssignmentEditorGUI.php.
References $a_type, $ctrl, $ilCtrl, $lng, ilObjAdvancedEditing\_getRichTextEditor(), ilExAssignment\FEEDBACK_DATE_CUSTOM, ilExAssignment\FEEDBACK_DATE_DEADLINE, ilExAssignment\FEEDBACK_DATE_SUBMISSION, ilExAssignmentTeam\getAdoptableTeamAssignments(), ilExAssignmentTeam\getAssignmentTeamMap(), getExerciseTotalMembers(), getTypeDropdown(), ilExAssignmentReminder\GRADE_REMINDER, ilExAssignmentReminder\SUBMIT_REMINDER, ilExAssignment\TEAMS_FORMED_BY_ASSIGNMENT, ilExAssignment\TEAMS_FORMED_BY_PARTICIPANTS, ilExAssignment\TEAMS_FORMED_BY_RANDOM, and ilExAssignment\TEAMS_FORMED_BY_TUTOR.
Referenced by addAssignmentObject(), and executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1374 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, $url, ilExAssignmentReminder\FEEDBACK_REMINDER, ilExcCriteria\getInstancesByParentId(), ilExcCriteriaCatalogue\getInstancesByParentId(), ilExAssignment\PEER_REVIEW_VALID_ALL, ilExAssignment\PEER_REVIEW_VALID_NONE, and ilExAssignment\PEER_REVIEW_VALID_ONE.
Here is the call graph for this function:| ilExAssignmentEditorGUI::listAssignmentsObject | ( | ) |
List assignments.
Definition at line 163 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $ilCtrl, $lng, $toolbar, $tpl, ilSubmitButton\getInstance(), and getTypeDropdown().
Here is the call graph for this function:| ilExAssignmentEditorGUI::orderAssignmentsByDeadlineObject | ( | ) |
Order by deadline.
Definition at line 1302 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, and ilExAssignment\orderAssByDeadline().
Here is the call graph for this function:
|
protected |
Custom form validation.
| ilPropertyFormGUI | $a_form |
Definition at line 610 of file class.ilExAssignmentEditorGUI.php.
References $lng, $res, $type, $valid, ilPropertyFormGUI\checkInput(), ilExAssignment\DEADLINE_ABSOLUTE, ilExAssignment\DEADLINE_RELATIVE, ilExAssignment\FEEDBACK_DATE_DEADLINE, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), IL_CAL_UNIX, ilUtil\sendFailure(), ilExAssignment\TEAMS_FORMED_BY_ASSIGNMENT, ilExAssignment\TEAMS_FORMED_BY_RANDOM, ilExAssignment\TEAMS_FORMED_BY_TUTOR, and validationTeamsFormation().
Here is the call graph for this function:
|
protected |
Definition at line 1606 of file class.ilExAssignmentEditorGUI.php.
References $lng, $res, $valid, ilPropertyFormGUI\checkInput(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), IL_CAL_UNIX, and ilUtil\sendFailure().
Here is the call graph for this function:| ilExAssignmentEditorGUI::saveAssignmentObject | ( | ) |
Save assignment.
Definition at line 987 of file class.ilExAssignmentEditorGUI.php.
| ilExAssignmentEditorGUI::saveAssignmentOrderObject | ( | ) |
Save assignments order.
Definition at line 1288 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ilCtrl, $lng, and ilExAssignment\saveAssOrderOfExercise().
Here is the call graph for this function:
|
protected |
Definition at line 967 of file class.ilExAssignmentEditorGUI.php.
References $type, ilExAssignmentReminder\getReminderStatus(), ilExAssignmentReminder\getReminderType(), ilExAssignmentReminder\setReminderEnd(), ilExAssignmentReminder\setReminderFrequency(), ilExAssignmentReminder\setReminderMailTemplate(), ilExAssignmentReminder\setReminderStart(), and ilExAssignmentReminder\setReminderStatus().
Referenced by importFormToAssignmentReminders(), and importPeerReviewFormToAssignmentReminders().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentEditorGUI::setAssignmentHeader | ( | ) |
Set assignment header.
Definition at line 1316 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, and $tpl.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Definition at line 1138 of file class.ilExAssignmentEditorGUI.php.
References ilPropertyFormGUI\getItemByPostVar(), and IL_CAL_UNIX.
Here is the call graph for this function:
|
protected |
Definition at line 1547 of file class.ilExAssignmentEditorGUI.php.
References ilPropertyFormGUI\getItemByPostVar().
Here is the call graph for this function:| ilExAssignmentEditorGUI::updateAssignmentObject | ( | ) |
Update assignment.
Definition at line 1190 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 1722 of file class.ilExAssignmentEditorGUI.php.
| ilExAssignmentEditorGUI::validationTeamsFormation | ( | $a_num_teams, | |
| $a_min_participants, | |||
| $a_max_participants | |||
| ) |
| $a_num_teams | integer |
| $a_min_participants | integer |
| $a_max_participants | integer |
Definition at line 1756 of file class.ilExAssignmentEditorGUI.php.
References $message.
Referenced by processForm().
Here is the caller graph for this function:
|
protected |
Definition at line 59 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 19 of file class.ilExAssignmentEditorGUI.php.
Referenced by addAssignmentObject(), executeCommand(), initAssignmentForm(), and listAssignmentsObject().
|
protected |
Definition at line 64 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 80 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 54 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 49 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 29 of file class.ilExAssignmentEditorGUI.php.
Referenced by executeCommand(), getTypeDropdown(), initAssignmentForm(), listAssignmentsObject(), and processForm().
|
protected |
Definition at line 75 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 44 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 24 of file class.ilExAssignmentEditorGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 39 of file class.ilExAssignmentEditorGUI.php.
Referenced by listAssignmentsObject().
|
protected |
Definition at line 34 of file class.ilExAssignmentEditorGUI.php.
Referenced by addAssignmentObject(), and listAssignmentsObject().
|
protected |
Definition at line 69 of file class.ilExAssignmentEditorGUI.php.
Referenced by getTypeDropdown().