|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | |
| $ctrl | |
| $tabs | |
| $lng | |
| $tpl | |
| $toolbar | |
| $settings | |
| $help | |
| $exercise_id | |
| $assignment | |
| $enable_peer_review_completion | |
Class ilExAssignmentEditorGUI.
@ilCtrl_Calls ilExAssignmentEditorGUI: ilExAssignmentFileSystemGUI, ilExPeerReviewGUI, ilPropertyFormGUI
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 65 of file class.ilExAssignmentEditorGUI.php.
References $DIC, and settings().
Here is the call graph for this function:| ilExAssignmentEditorGUI::addAssignmentObject | ( | ) |
Create assignment.
Definition at line 161 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ctrl, $form, $ilCtrl, $tpl, and initAssignmentForm().
Here is the call graph for this function:| ilExAssignmentEditorGUI::adoptTeamAssignmentsFormObject | ( | ) |
Definition at line 1321 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $form, $id, $ilCtrl, $lng, $options, $tabs, $tpl, and ilExAssignmentTeam\getAdoptableTeamAssignments().
Here is the call graph for this function:| ilExAssignmentEditorGUI::adoptTeamAssignmentsObject | ( | ) |
Definition at line 1370 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, ilExAssignmentTeam\adoptTeams(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilExAssignmentEditorGUI::confirmAssignmentsDeletionObject | ( | ) |
Confirm assignments deletion.
Definition at line 852 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ctrl, $i, $ilCtrl, $lng, $tpl, ilExAssignment\lookupTitle(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilExAssignmentEditorGUI::deleteAssignmentsObject | ( | ) |
Delete assignments.
Definition at line 880 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ctrl, $id, $ilCtrl, $lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilExAssignmentEditorGUI::downloadGlobalFeedbackFileObject | ( | ) |
Definition at line 973 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $ilCtrl, and ilUtil\deliverFile().
Here is the call graph for this function:| ilExAssignmentEditorGUI::editAssignmentObject | ( | ) |
Edit assignment.
Definition at line 685 of file class.ilExAssignmentEditorGUI.php.
References $form, $tabs, $tpl, getAssignmentValues(), initAssignmentForm(), and setAssignmentHeader().
Here is the call graph for this function:| ilExAssignmentEditorGUI::editPeerReviewObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1100 of file class.ilExAssignmentEditorGUI.php.
References $tabs, $tpl, getPeerReviewValues(), initPeerReviewForm(), and setAssignmentHeader().
Here is the call graph for this function:| ilExAssignmentEditorGUI::executeCommand | ( | ) |
Definition at line 81 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $form, $ilCtrl, $lng, $tabs, initAssignmentForm(), setAssignmentHeader(), and ilExAssignment\TYPE_PORTFOLIO.
Here is the call graph for this function:| ilExAssignmentEditorGUI::getAssignmentValues | ( | ilPropertyFormGUI | $a_form | ) |
Get current values for assignment from.
Definition at line 702 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $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 1116 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 182 of file class.ilExAssignmentEditorGUI.php.
References $ilSetting, $lng, $settings, 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 782 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 1154 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 576 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\setMaxCharLimit(), ilExAssignment\setMaxFile(), ilExAssignment\setMinCharLimit(), ilExAssignment\setPeerReview(), ilExAssignment\setPeerReviewFileUpload(), ilExAssignment\setPeerReviewMin(), ilExAssignment\setPeerReviewPersonalized(), ilExAssignment\setPeerReviewRating(), ilExAssignment\setPeerReviewSimpleUnlock(), ilExAssignment\setPeerReviewText(), ilExAssignment\setPeerReviewValid(), ilExAssignment\setPortfolioTemplateId(), 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 1269 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 210 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $a_type, $ctrl, $files, $form, $ilCtrl, $lng, ilExAssignment\FEEDBACK_DATE_DEADLINE, ilExAssignment\FEEDBACK_DATE_SUBMISSION, getTypeDropdown(), ilExAssignment\TYPE_PORTFOLIO, ilExAssignment\TYPE_TEXT, ilExAssignment\TYPE_UPLOAD, and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by addAssignmentObject(), editAssignmentObject(), executeCommand(), saveAssignmentObject(), and updateAssignmentObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 990 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $def, $form, $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 134 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $ilCtrl, $lng, $t, $toolbar, $tpl, ilSubmitButton\getInstance(), and getTypeDropdown().
Here is the call graph for this function:| ilExAssignmentEditorGUI::orderAssignmentsByDeadlineObject | ( | ) |
Order by deadline.
Definition at line 918 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $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 407 of file class.ilExAssignmentEditorGUI.php.
References $lng, $res, $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 1189 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 645 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ctrl, $form, $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 904 of file class.ilExAssignmentEditorGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, ilExAssignment\saveAssOrderOfExercise(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilExAssignmentEditorGUI::setAssignmentHeader | ( | ) |
Set assignment header.
Definition at line 932 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $help, $ilCtrl, $lng, $tabs, $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 762 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 1129 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 813 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $form, $ilCtrl, $lng, $tabs, $tpl, handleDisabledFields(), importFormToAssignment(), initAssignmentForm(), processForm(), ilUtil\sendSuccess(), and setAssignmentHeader().
Here is the call graph for this function:
|
protected |
Definition at line 1292 of file class.ilExAssignmentEditorGUI.php.
References $ctrl, $form, $ilCtrl, $lng, $tabs, $tpl, handleDisabledPeerFields(), importPeerReviewFormToAssignment(), initPeerReviewForm(), processPeerReviewForm(), ilUtil\sendSuccess(), and setAssignmentHeader().
Here is the call graph for this function:
|
protected |
Definition at line 54 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 21 of file class.ilExAssignmentEditorGUI.php.
Referenced by addAssignmentObject(), adoptTeamAssignmentsFormObject(), adoptTeamAssignmentsObject(), confirmAssignmentsDeletionObject(), deleteAssignmentsObject(), downloadGlobalFeedbackFileObject(), executeCommand(), getAssignmentValues(), initAssignmentForm(), initPeerReviewForm(), listAssignmentsObject(), orderAssignmentsByDeadlineObject(), saveAssignmentObject(), saveAssignmentOrderObject(), setAssignmentHeader(), updateAssignmentObject(), and updatePeerReviewObject().
|
protected |
Definition at line 55 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 53 of file class.ilExAssignmentEditorGUI.php.
|
protected |
Definition at line 51 of file class.ilExAssignmentEditorGUI.php.
Referenced by setAssignmentHeader().
|
protected |
Definition at line 31 of file class.ilExAssignmentEditorGUI.php.
Referenced by adoptTeamAssignmentsFormObject(), adoptTeamAssignmentsObject(), confirmAssignmentsDeletionObject(), deleteAssignmentsObject(), executeCommand(), getAssignmentValues(), getTypeDropdown(), initAssignmentForm(), initPeerReviewForm(), listAssignmentsObject(), orderAssignmentsByDeadlineObject(), processForm(), processPeerReviewForm(), saveAssignmentObject(), saveAssignmentOrderObject(), setAssignmentHeader(), updateAssignmentObject(), and updatePeerReviewObject().
|
protected |
Definition at line 46 of file class.ilExAssignmentEditorGUI.php.
Referenced by getTypeDropdown().
|
protected |
Definition at line 26 of file class.ilExAssignmentEditorGUI.php.
Referenced by adoptTeamAssignmentsFormObject(), editAssignmentObject(), editPeerReviewObject(), executeCommand(), setAssignmentHeader(), updateAssignmentObject(), and updatePeerReviewObject().
|
protected |
Definition at line 41 of file class.ilExAssignmentEditorGUI.php.
Referenced by listAssignmentsObject().
|
protected |
Definition at line 36 of file class.ilExAssignmentEditorGUI.php.
Referenced by addAssignmentObject(), adoptTeamAssignmentsFormObject(), confirmAssignmentsDeletionObject(), editAssignmentObject(), editPeerReviewObject(), listAssignmentsObject(), saveAssignmentObject(), setAssignmentHeader(), updateAssignmentObject(), and updatePeerReviewObject().