|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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) | |
| adoptTeamAssignmentsFormObject () | |
| adoptTeamAssignmentsObject () | |
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... | |
| 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 | |
| $exercise_id | |
| $assignment | |
| $enable_peer_review_completion | |
Class ilExAssignmentEditorGUI.
@ilCtrl_Calls ilExAssignmentEditorGUI: ilFileSystemGUI, ilExPeerReviewGUI
Definition at line 16 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 30 of file class.ilExAssignmentEditorGUI.php.
| ilExAssignmentEditorGUI::addAssignmentObject | ( | ) |
Create assignment.
Definition at line 106 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ilCtrl, $tpl, and initAssignmentForm().
Here is the call graph for this function:| ilExAssignmentEditorGUI::adoptTeamAssignmentsFormObject | ( | ) |
Definition at line 1234 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, $options, $tpl, and ilExAssignmentTeam\getAdoptableTeamAssignments().
Here is the call graph for this function:| ilExAssignmentEditorGUI::adoptTeamAssignmentsObject | ( | ) |
Definition at line 1281 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ilCtrl, $lng, ilExAssignmentTeam\adoptTeams(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilExAssignmentEditorGUI::confirmAssignmentsDeletionObject | ( | ) |
Confirm assignments deletion.
Definition at line 750 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, ilExAssignment\lookupTitle(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilExAssignmentEditorGUI::deleteAssignmentsObject | ( | ) |
Delete assignments.
Definition at line 780 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ilCtrl, $lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilExAssignmentEditorGUI::downloadGlobalFeedbackFileObject | ( | ) |
Definition at line 862 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 588 of file class.ilExAssignmentEditorGUI.php.
References $tpl, getAssignmentValues(), initAssignmentForm(), and setAssignmentHeader().
Here is the call graph for this function:| ilExAssignmentEditorGUI::editPeerReviewObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 996 of file class.ilExAssignmentEditorGUI.php.
References $tpl, getPeerReviewValues(), initPeerReviewForm(), and setAssignmentHeader().
Here is the call graph for this function:| ilExAssignmentEditorGUI::executeCommand | ( | ) |
Definition at line 37 of file class.ilExAssignmentEditorGUI.php.
References $cmd, $ilCtrl, $lng, and setAssignmentHeader().
Here is the call graph for this function:| ilExAssignmentEditorGUI::getAssignmentValues | ( | ilPropertyFormGUI | $a_form | ) |
Get current values for assignment from
Definition at line 603 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, ilPropertyFormGUI\getItemByPostVar(), handleDisabledFields(), IL_CAL_UNIX, ilPropertyFormGUI\setValuesByArray(), ilExAssignment\TYPE_UPLOAD, and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by editAssignmentObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1011 of file class.ilExAssignmentEditorGUI.php.
References handleDisabledPeerFields(), and IL_CAL_UNIX.
Referenced by editPeerReviewObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get type selection dropdown.
Definition at line 127 of file class.ilExAssignmentEditorGUI.php.
References $ilSetting, $lng, ilExAssignment\TYPE_BLOG, ilExAssignment\TYPE_PORTFOLIO, ilExAssignment\TYPE_TEXT, ilExAssignment\TYPE_UPLOAD, and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by initAssignmentForm(), and listAssignmentsObject().
Here is the caller graph for this function:
|
protected |
Definition at line 676 of file class.ilExAssignmentEditorGUI.php.
References ilPropertyFormGUI\getItemByPostVar(), setDisabledFieldValues(), and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by getAssignmentValues(), and updateAssignmentObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1053 of file class.ilExAssignmentEditorGUI.php.
References ilPropertyFormGUI\addItem(), ilPropertyFormGUI\getItemByPostVar(), and setDisabledPeerReviewFieldValues().
Referenced by getPeerReviewValues(), and updatePeerReviewObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Import form values to assignment.
| ilExAssignment | $a_ass | |
| array | $a_input |
Definition at line 472 of file class.ilExAssignmentEditorGUI.php.
References ilExAssignment\deleteGlobalFeedbackFile(), ilExAssignment\getId(), ilExAssignment\handleGlobalFeedbackFileUpload(), ilExAssignment\PEER_REVIEW_VALID_NONE, ilExAssignment\save(), ilExAssignment\setDeadline(), ilExAssignment\setExtendedDeadline(), ilExAssignment\setFeedbackCron(), ilExAssignment\setFeedbackDate(), 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\setStartTime(), ilExAssignment\setTeamTutor(), ilExAssignment\setTitle(), ilExAssignment\update(), and ilExAssignment\uploadAssignmentFiles().
Referenced by saveAssignmentObject(), and updateAssignmentObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1182 of file class.ilExAssignmentEditorGUI.php.
References 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().
Referenced by updatePeerReviewObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init assignment form.
| int | $a_type | |
| int | $a_mode | "create"/"edit" |
Definition at line 156 of file class.ilExAssignmentEditorGUI.php.
References $a_type, $files, $ilCtrl, $lng, ilExAssignment\FEEDBACK_DATE_DEADLINE, ilExAssignment\FEEDBACK_DATE_SUBMISSION, getTypeDropdown(), ilExAssignment\TYPE_UPLOAD, and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by addAssignmentObject(), editAssignmentObject(), saveAssignmentObject(), and updateAssignmentObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 880 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, $url, ilExcCriteria\getInstancesByParentId(), ilExcCriteriaCatalogue\getInstancesByParentId(), ilExAssignment\PEER_REVIEW_VALID_ALL, ilExAssignment\PEER_REVIEW_VALID_NONE, and ilExAssignment\PEER_REVIEW_VALID_ONE.
Referenced by editPeerReviewObject(), and updatePeerReviewObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentEditorGUI::listAssignmentsObject | ( | ) |
List assignments.
Definition at line 82 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, $t, $tpl, ilSubmitButton\getInstance(), and getTypeDropdown().
Here is the call graph for this function:| ilExAssignmentEditorGUI::orderAssignmentsByDeadlineObject | ( | ) |
Order by deadline.
Definition at line 819 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, ilExAssignment\orderAssByDeadline(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Custom form validation.
| ilPropertyFormGUI | $a_form |
Definition at line 295 of file class.ilExAssignmentEditorGUI.php.
References $lng, $res, $time_start, $valid, ilPropertyFormGUI\checkInput(), ilExAssignment\FEEDBACK_DATE_DEADLINE, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), IL_CAL_UNIX, and ilUtil\sendFailure().
Referenced by saveAssignmentObject(), and updateAssignmentObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1091 of file class.ilExAssignmentEditorGUI.php.
References $lng, $res, $valid, ilPropertyFormGUI\checkInput(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), IL_CAL_UNIX, and ilUtil\sendFailure().
Referenced by updatePeerReviewObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentEditorGUI::saveAssignmentObject | ( | ) |
Save assignment.
Definition at line 545 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, ilExAssignmentTeam\getAdoptableTeamAssignments(), importFormToAssignment(), initAssignmentForm(), processForm(), ilUtil\sendSuccess(), and ilExAssignment\TYPE_UPLOAD_TEAM.
Here is the call graph for this function:| ilExAssignmentEditorGUI::saveAssignmentOrderObject | ( | ) |
Save assignments order.
Definition at line 806 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ilCtrl, $lng, ilExAssignment\saveAssOrderOfExercise(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilExAssignmentEditorGUI::setAssignmentHeader | ( | ) |
Set assignment header.
Definition at line 832 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, $tpl, and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by editAssignmentObject(), editPeerReviewObject(), executeCommand(), updateAssignmentObject(), and updatePeerReviewObject().
Here is the caller graph for this function:
|
protected |
Definition at line 653 of file class.ilExAssignmentEditorGUI.php.
References ilPropertyFormGUI\getItemByPostVar(), and IL_CAL_UNIX.
Referenced by handleDisabledFields().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1025 of file class.ilExAssignmentEditorGUI.php.
References ilPropertyFormGUI\getItemByPostVar().
Referenced by handleDisabledPeerFields().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentEditorGUI::updateAssignmentObject | ( | ) |
Update assignment.
Definition at line 710 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, $tpl, handleDisabledFields(), importFormToAssignment(), initAssignmentForm(), processForm(), ilUtil\sendSuccess(), and setAssignmentHeader().
Here is the call graph for this function:
|
protected |
Definition at line 1205 of file class.ilExAssignmentEditorGUI.php.
References $ilCtrl, $lng, $tpl, handleDisabledPeerFields(), importPeerReviewFormToAssignment(), initPeerReviewForm(), processPeerReviewForm(), ilUtil\sendSuccess(), and setAssignmentHeader().
Here is the call graph for this function:
|
protected |
Definition at line 19 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 20 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 18 of file class.ilExAssignmentEditorGUI.php.