ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilExerciseManagementGUI. More...
Public Member Functions | |
__construct (ilObjExercise $a_exercise, ilExAssignment $a_ass=null) | |
Constructor. More... | |
executeCommand () | |
addSubTabs ($a_activate) | |
adds tabs to tab gui object More... | |
waitingDownloadObject () | |
membersObject () | |
All participants and submission of one assignment. More... | |
downloadSubmissionsObject () | |
membersApplyObject () | |
membersResetObject () | |
saveGradesObject () | |
Save grades. More... | |
listTextAssignmentObject () | |
todo: Pagination. More... | |
getReportPanel ($a_data) | |
getEvaluationModal ($a_data) | |
saveEvaluationFromModalObject () | |
Save assignment submission grade(status) and comment from the roundtrip modal. More... | |
addUserFromAutoCompleteObject () | |
Add user as member. More... | |
addMembersObject ($a_user_ids=array()) | |
Add new partipant. More... | |
selectAssignmentObject () | |
Select assignment. More... | |
showParticipantObject () | |
Show Participant. More... | |
showParticipantApplyObject () | |
showParticipantResetObject () | |
selectParticipantObject () | |
Select participant. More... | |
showGradesOverviewObject () | |
Show grades overview. More... | |
redirectFeedbackMailObject () | |
set feedback status for member and redirect to mail screen More... | |
downloadAllObject () | |
Download all submitted files (of all members). More... | |
sendMembersObject () | |
Send assignment per mail to participants. More... | |
confirmDeassignMembersObject () | |
Confirm deassigning members. More... | |
deassignMembersObject () | |
Deassign members from exercise. More... | |
saveCommentsObject () | |
saveStatusParticipantObject (array $a_selected=null) | |
Save assignment status (participant view) More... | |
saveStatusAllObject (array $a_selected=null, $a_redirect=true) | |
saveStatusSelectedObject () | |
saveCommentForLearnersObject () | |
Save comment for learner (asynch) More... | |
exportExcelObject () | |
Export as excel. More... | |
createTeamsObject () | |
dissolveTeamsObject () | |
adoptTeamsFromGroupObject (ilPropertyFormGUI $a_form=null) | |
createTeamsFromGroupsObject () | |
initMultiFeedbackForm ($a_ass_id) | |
showMultiFeedbackObject (ilPropertyFormGUI $a_form=null) | |
Show multi-feedback screen. More... | |
downloadMultiFeedbackZipObject () | |
Download multi-feedback structrue file. More... | |
uploadMultiFeedbackObject () | |
Upload multi feedback file. More... | |
showMultiFeedbackConfirmationTableObject () | |
Show multi feedback confirmation table. More... | |
cancelMultiFeedbackObject () | |
Cancel Multi Feedback. More... | |
saveMultiFeedbackObject () | |
Save multi feedback. More... | |
initFilter () | |
Data Fields | |
const | VIEW_ASSIGNMENT = 1 |
const | VIEW_PARTICIPANT = 2 |
const | VIEW_GRADES = 3 |
const | FEEDBACK_ONLY_SUBMISSION = "submission_feedback" |
const | FEEDBACK_FULL_SUBMISSION = "submission_only" |
const | GRADE_NOT_GRADED = "notgraded" |
const | GRADE_PASSED = "passed" |
const | GRADE_FAILED = "failed" |
Protected Member Functions | |
getViewBack () | |
initSubmission () | |
getMultiActionUserIds ($a_keep_teams=false) | |
saveStatus (array $a_data, $a_redirect=true) | |
Save status of selecte members. More... | |
initGroupForm () | |
initIndividualDeadlineModal () | |
parseIndividualDeadlineData (array $a_data) | |
handleIndividualDeadlineCallsObject () | |
initIndividualDeadlineForm (array $a_ass_map, array $ids) | |
setIndividualDeadlineObject () | |
Protected Attributes | |
$ctrl | |
$tabs_gui | |
$lng | |
$tpl | |
$ui_factory | |
$ui_renderer | |
$filter | |
$toolbar | |
$exercise | |
$assignment | |
$task_factory | |
$user | |
Class ilExerciseManagementGUI.
ilExerciseManagementGUI: ilFileSystemGUI, ilRepositorySearchGUI ilExerciseManagementGUI: ilExSubmissionTeamGUI, ilExSubmissionFileGUI ilExerciseManagementGUI: ilExSubmissionTextGUI, ilExPeerReviewGUI
Definition at line 18 of file class.ilExerciseManagementGUI.php.
ilExerciseManagementGUI::__construct | ( | ilObjExercise | $a_exercise, |
ilExAssignment | $a_ass = null |
||
) |
Constructor.
int | $a_exercise_id |
Definition at line 87 of file class.ilExerciseManagementGUI.php.
References $DIC, ilObject\getId(), and user().
ilExerciseManagementGUI::addMembersObject | ( | $a_user_ids = array() | ) |
Add new partipant.
Definition at line 830 of file class.ilExerciseManagementGUI.php.
References ilUtil\sendFailure().
Referenced by addUserFromAutoCompleteObject().
ilExerciseManagementGUI::addSubTabs | ( | $a_activate | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 272 of file class.ilExerciseManagementGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, and $tabs_gui.
Referenced by executeCommand(), membersObject(), showGradesOverviewObject(), showMultiFeedbackConfirmationTableObject(), showMultiFeedbackObject(), and showParticipantObject().
ilExerciseManagementGUI::addUserFromAutoCompleteObject | ( | ) |
Add user as member.
Definition at line 799 of file class.ilExerciseManagementGUI.php.
References $_POST, $user, $users, ilObjUser\_lookupId(), addMembersObject(), membersObject(), and ilUtil\sendFailure().
ilExerciseManagementGUI::adoptTeamsFromGroupObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1530 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, $lng, $tabs_gui, $tpl, getViewBack(), and initGroupForm().
Referenced by createTeamsFromGroupsObject().
ilExerciseManagementGUI::cancelMultiFeedbackObject | ( | ) |
Cancel Multi Feedback.
Definition at line 1795 of file class.ilExerciseManagementGUI.php.
ilExerciseManagementGUI::confirmDeassignMembersObject | ( | ) |
Confirm deassigning members.
Definition at line 1202 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, $lng, $m, $tpl, getMultiActionUserIds(), and ilUserUtil\getNamePresentation().
ilExerciseManagementGUI::createTeamsFromGroupsObject | ( | ) |
Definition at line 1594 of file class.ilExerciseManagementGUI.php.
References $_POST, $form, $input, $lng, $map, $valid, adoptTeamsFromGroupObject(), ilExAssignmentTeam\getAssignmentTeamMap(), ilExAssignmentTeam\getGroupMembersMap(), ilExAssignmentTeam\getInstanceByUserId(), ilUserUtil\getNamePresentation(), initGroupForm(), and ilUtil\sendFailure().
ilExerciseManagementGUI::createTeamsObject | ( | ) |
Definition at line 1449 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, ilExAssignmentTeam\getInstanceByUserId(), and getMultiActionUserIds().
ilExerciseManagementGUI::deassignMembersObject | ( | ) |
Deassign members from exercise.
Definition at line 1232 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, $lng, and getMultiActionUserIds().
ilExerciseManagementGUI::dissolveTeamsObject | ( | ) |
Definition at line 1498 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, ilExAssignmentTeam\getInstanceByUserId(), and getMultiActionUserIds().
ilExerciseManagementGUI::downloadAllObject | ( | ) |
Download all submitted files (of all members).
Definition at line 1085 of file class.ilExerciseManagementGUI.php.
References $name, ilObject\_exists(), ilExSubmission\downloadAllAssignmentFiles(), and ilObjectFactory\getInstanceByObjId().
ilExerciseManagementGUI::downloadMultiFeedbackZipObject | ( | ) |
Download multi-feedback structrue file.
Definition at line 1749 of file class.ilExerciseManagementGUI.php.
ilExerciseManagementGUI::downloadSubmissionsObject | ( | ) |
Definition at line 446 of file class.ilExerciseManagementGUI.php.
References $GLOBALS, and user().
ilExerciseManagementGUI::executeCommand | ( | ) |
Definition at line 113 of file class.ilExerciseManagementGUI.php.
References $_GET, $ctrl, $GLOBALS, $ilCtrl, $lng, $tabs_gui, addSubTabs(), ilFSStorageExercise\create(), ilUserUtil\getNamePresentation(), getViewBack(), initSubmission(), ilUtil\sendInfo(), and ilFileSystemGUI\setTableId().
ilExerciseManagementGUI::exportExcelObject | ( | ) |
Export as excel.
Definition at line 1438 of file class.ilExerciseManagementGUI.php.
References exit.
ilExerciseManagementGUI::getEvaluationModal | ( | $a_data | ) |
Definition at line 705 of file class.ilExerciseManagementGUI.php.
References $form, $id, PHPMailer\PHPMailer\$options, $si, $text, ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), ilTextInputGUI\setValue(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by getReportPanel().
|
protected |
Definition at line 1122 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, and ilUtil\sendFailure().
Referenced by confirmDeassignMembersObject(), createTeamsObject(), deassignMembersObject(), dissolveTeamsObject(), redirectFeedbackMailObject(), saveStatusSelectedObject(), and sendMembersObject().
ilExerciseManagementGUI::getReportPanel | ( | $a_data | ) |
Definition at line 595 of file class.ilExerciseManagementGUI.php.
References $key, $user, $values, ilObject\_lookupType(), ilDatePresentation\formatDate(), getEvaluationModal(), and IL_CAL_DATETIME.
Referenced by listTextAssignmentObject().
|
protected |
Definition at line 233 of file class.ilExerciseManagementGUI.php.
Referenced by adoptTeamsFromGroupObject(), executeCommand(), initSubmission(), redirectFeedbackMailObject(), and saveStatus().
|
protected |
Definition at line 1867 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, $form, $id, $res, $tpl, $users, $valid, ilDateTime\_before(), exit, ilDatePresentation\formatDate(), IL_CAL_UNIX, initIndividualDeadlineForm(), and parseIndividualDeadlineData().
ilExerciseManagementGUI::initFilter | ( | ) |
Definition at line 2017 of file class.ilExerciseManagementGUI.php.
References $_POST, PHPMailer\PHPMailer\$options, ilSubmitButton\getInstance(), ilSelectInputGUI\setOptions(), and ilUtil\stripSlashes().
Referenced by listTextAssignmentObject().
|
protected |
Definition at line 1549 of file class.ilExerciseManagementGUI.php.
References $form, $lng, PHPMailer\PHPMailer\$options, ilExAssignmentTeam\getGroupMembersMap(), and ilUserUtil\getNamePresentation().
Referenced by adoptTeamsFromGroupObject(), and createTeamsFromGroupsObject().
|
protected |
Definition at line 1948 of file class.ilExerciseManagementGUI.php.
References $form, $id, $name, $section, $users, $values, ilObjUser\_lookupName(), ilExAssignmentTeam\getInstancesFromMap(), and IL_CAL_UNIX.
Referenced by handleIndividualDeadlineCallsObject().
|
protected |
Definition at line 1817 of file class.ilExerciseManagementGUI.php.
References $lng, $tpl, ilModalGUI\getInstance(), and ilCalendarUtil\initDateTimePicker().
Referenced by membersObject(), and showParticipantObject().
ilExerciseManagementGUI::initMultiFeedbackForm | ( | $a_ass_id | ) |
Definition at line 1694 of file class.ilExerciseManagementGUI.php.
References $form, $lng, ilExAssignment\lookupTitle(), and ilFileInputGUI\setSuffixes().
Referenced by showMultiFeedbackObject(), and uploadMultiFeedbackObject().
|
protected |
Definition at line 252 of file class.ilExerciseManagementGUI.php.
References getViewBack().
Referenced by executeCommand().
ilExerciseManagementGUI::listTextAssignmentObject | ( | ) |
todo: Pagination.
Definition at line 520 of file class.ilExerciseManagementGUI.php.
References $data, $id, $user, ilObject\_exists(), ilRTE\_replaceMediaObjectImageSrc(), ilExerciseMembersFilter\filterParticipantsByAccess(), ilExSubmission\getAssignmentFilesByUsers(), ilExSubmission\getAssignmentParticipants(), getReportPanel(), initFilter(), user(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
ilExerciseManagementGUI::membersApplyObject | ( | ) |
Definition at line 471 of file class.ilExerciseManagementGUI.php.
References membersObject(), ilTable2GUI\resetOffset(), and saveStatusAllObject().
ilExerciseManagementGUI::membersObject | ( | ) |
All participants and submission of one assignment.
Definition at line 322 of file class.ilExerciseManagementGUI.php.
References $ctrl, $GLOBALS, $ilCtrl, $lng, PHPMailer\PHPMailer\$options, $si, $toolbar, $tpl, addSubTabs(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilExAssignmentTeam\getAdoptableGroups(), ilSubmitButton\getInstance(), ilExAssignment\getInstancesByExercise(), ilExSubmission\hasAnySubmissions(), initIndividualDeadlineModal(), ilUtil\sendInfo(), ilExAssignment\TYPE_TEXT, and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by addUserFromAutoCompleteObject(), membersApplyObject(), membersResetObject(), saveCommentsObject(), selectAssignmentObject(), setIndividualDeadlineObject(), and waitingDownloadObject().
ilExerciseManagementGUI::membersResetObject | ( | ) |
Definition at line 482 of file class.ilExerciseManagementGUI.php.
References membersObject(), and ilTable2GUI\resetOffset().
|
protected |
Definition at line 1841 of file class.ilExerciseManagementGUI.php.
References $assignment, and $map.
Referenced by handleIndividualDeadlineCallsObject().
ilExerciseManagementGUI::redirectFeedbackMailObject | ( | ) |
set feedback status for member and redirect to mail screen
Definition at line 1038 of file class.ilExerciseManagementGUI.php.
References $_GET, ilLink\_getLink(), ilObjUser\_lookupLogin(), getMultiActionUserIds(), ilMailFormCall\getRedirectTarget(), getViewBack(), ilUtil\redirect(), and ilMailFormCall\SIGNATURE_KEY.
ilExerciseManagementGUI::saveCommentForLearnersObject | ( | ) |
Save comment for learner (asynch)
Definition at line 1387 of file class.ilExerciseManagementGUI.php.
References $_POST, $comment, $res, exit, and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveCommentsObject | ( | ) |
Definition at line 1246 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, membersObject(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveEvaluationFromModalObject | ( | ) |
Save assignment submission grade(status) and comment from the roundtrip modal.
Definition at line 775 of file class.ilExerciseManagementGUI.php.
References $_POST, $comment, and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveGradesObject | ( | ) |
Save grades.
Definition at line 495 of file class.ilExerciseManagementGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveMultiFeedbackObject | ( | ) |
Save multi feedback.
Definition at line 1804 of file class.ilExerciseManagementGUI.php.
References $_POST.
|
protected |
Save status of selecte members.
Definition at line 1337 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, $users, $values, ilObjUser\_lookupName(), and getViewBack().
Referenced by saveStatusAllObject(), and saveStatusParticipantObject().
ilExerciseManagementGUI::saveStatusAllObject | ( | array | $a_selected = null , |
$a_redirect = true |
|||
) |
Definition at line 1292 of file class.ilExerciseManagementGUI.php.
References $_POST, $data, $GLOBALS, saveStatus(), and ilUtil\stripSlashes().
Referenced by membersApplyObject(), and saveStatusSelectedObject().
ilExerciseManagementGUI::saveStatusParticipantObject | ( | array | $a_selected = null | ) |
Save assignment status (participant view)
Definition at line 1263 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, $ctrl, $data, $ilCtrl, saveStatus(), and ilUtil\stripSlashes().
Referenced by saveStatusSelectedObject().
ilExerciseManagementGUI::saveStatusSelectedObject | ( | ) |
Definition at line 1323 of file class.ilExerciseManagementGUI.php.
References getMultiActionUserIds(), saveStatusAllObject(), and saveStatusParticipantObject().
ilExerciseManagementGUI::selectAssignmentObject | ( | ) |
Select assignment.
Definition at line 868 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, membersObject(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::selectParticipantObject | ( | ) |
Select participant.
Definition at line 988 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, showParticipantObject(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::sendMembersObject | ( | ) |
Send assignment per mail to participants.
Definition at line 1182 of file class.ilExerciseManagementGUI.php.
References $_GET, $users, and getMultiActionUserIds().
|
protected |
Definition at line 2005 of file class.ilExerciseManagementGUI.php.
References membersObject(), ilUtil\sendFailure(), and showParticipantObject().
ilExerciseManagementGUI::showGradesOverviewObject | ( | ) |
Show grades overview.
Definition at line 997 of file class.ilExerciseManagementGUI.php.
References $ctrl, $GLOBALS, $ilCtrl, $lng, $toolbar, $tpl, and addSubTabs().
ilExerciseManagementGUI::showMultiFeedbackConfirmationTableObject | ( | ) |
Show multi feedback confirmation table.
Definition at line 1781 of file class.ilExerciseManagementGUI.php.
References $tab, $tpl, and addSubTabs().
ilExerciseManagementGUI::showMultiFeedbackObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Show multi-feedback screen.
Definition at line 1721 of file class.ilExerciseManagementGUI.php.
References $lng, $toolbar, $tpl, addSubTabs(), ilLinkButton\getInstance(), initMultiFeedbackForm(), and ilUtil\sendInfo().
Referenced by uploadMultiFeedbackObject().
ilExerciseManagementGUI::showParticipantApplyObject | ( | ) |
Definition at line 965 of file class.ilExerciseManagementGUI.php.
References $_GET, and showParticipantObject().
ilExerciseManagementGUI::showParticipantObject | ( | ) |
Show Participant.
Definition at line 877 of file class.ilExerciseManagementGUI.php.
References $_GET, $ctrl, $GLOBALS, $ilCtrl, $lng, $m, $name, PHPMailer\PHPMailer\$options, $si, $toolbar, $tpl, ilObjUser\_lookupName(), ilObject\_lookupType(), addSubTabs(), ilExAssignment\getAssignmentDataOfExercise(), ilSubmitButton\getInstance(), initIndividualDeadlineModal(), ilUtil\sendInfo(), and ilUtil\sortArray().
Referenced by selectParticipantObject(), setIndividualDeadlineObject(), showParticipantApplyObject(), and showParticipantResetObject().
ilExerciseManagementGUI::showParticipantResetObject | ( | ) |
Definition at line 975 of file class.ilExerciseManagementGUI.php.
References $_GET, and showParticipantObject().
ilExerciseManagementGUI::uploadMultiFeedbackObject | ( | ) |
Upload multi feedback file.
Definition at line 1757 of file class.ilExerciseManagementGUI.php.
References $form, initMultiFeedbackForm(), ilUtil\sendFailure(), showMultiFeedbackObject(), and ilUtil\stripSlashesArray().
ilExerciseManagementGUI::waitingDownloadObject | ( | ) |
Definition at line 307 of file class.ilExerciseManagementGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $url, membersObject(), and ilUtil\sendInfo().
|
protected |
Definition at line 61 of file class.ilExerciseManagementGUI.php.
Referenced by parseIndividualDeadlineData().
|
protected |
Definition at line 23 of file class.ilExerciseManagementGUI.php.
Referenced by addSubTabs(), adoptTeamsFromGroupObject(), confirmDeassignMembersObject(), createTeamsObject(), deassignMembersObject(), dissolveTeamsObject(), executeCommand(), membersObject(), saveGradesObject(), saveStatus(), saveStatusParticipantObject(), showGradesOverviewObject(), showParticipantObject(), and waitingDownloadObject().
|
protected |
Definition at line 60 of file class.ilExerciseManagementGUI.php.
|
protected |
Definition at line 53 of file class.ilExerciseManagementGUI.php.
|
protected |
Definition at line 33 of file class.ilExerciseManagementGUI.php.
Referenced by addSubTabs(), adoptTeamsFromGroupObject(), confirmDeassignMembersObject(), createTeamsFromGroupsObject(), deassignMembersObject(), executeCommand(), initGroupForm(), initIndividualDeadlineModal(), initMultiFeedbackForm(), membersObject(), saveGradesObject(), showGradesOverviewObject(), showMultiFeedbackObject(), showParticipantObject(), and waitingDownloadObject().
|
protected |
Definition at line 28 of file class.ilExerciseManagementGUI.php.
Referenced by addSubTabs(), adoptTeamsFromGroupObject(), and executeCommand().
|
protected |
Definition at line 63 of file class.ilExerciseManagementGUI.php.
|
protected |
Definition at line 58 of file class.ilExerciseManagementGUI.php.
Referenced by membersObject(), showGradesOverviewObject(), showMultiFeedbackObject(), and showParticipantObject().
|
protected |
Definition at line 38 of file class.ilExerciseManagementGUI.php.
Referenced by adoptTeamsFromGroupObject(), confirmDeassignMembersObject(), handleIndividualDeadlineCallsObject(), initIndividualDeadlineModal(), membersObject(), showGradesOverviewObject(), showMultiFeedbackConfirmationTableObject(), showMultiFeedbackObject(), and showParticipantObject().
|
protected |
Definition at line 43 of file class.ilExerciseManagementGUI.php.
|
protected |
Definition at line 48 of file class.ilExerciseManagementGUI.php.
|
protected |
Definition at line 68 of file class.ilExerciseManagementGUI.php.
Referenced by addUserFromAutoCompleteObject(), getReportPanel(), and listTextAssignmentObject().
const ilExerciseManagementGUI::FEEDBACK_FULL_SUBMISSION = "submission_only" |
Definition at line 75 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::FEEDBACK_ONLY_SUBMISSION = "submission_feedback" |
Definition at line 74 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::GRADE_FAILED = "failed" |
Definition at line 79 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::GRADE_NOT_GRADED = "notgraded" |
Definition at line 77 of file class.ilExerciseManagementGUI.php.
Referenced by ilExAssignmentReminder\parseGradeReminders().
const ilExerciseManagementGUI::GRADE_PASSED = "passed" |
Definition at line 78 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::VIEW_ASSIGNMENT = 1 |
Definition at line 70 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::VIEW_GRADES = 3 |
Definition at line 72 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::VIEW_PARTICIPANT = 2 |
Definition at line 71 of file class.ilExerciseManagementGUI.php.