ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilExerciseManagementGUI. More...
Data Fields | |
const | VIEW_ASSIGNMENT = 1 |
const | VIEW_PARTICIPANT = 2 |
const | VIEW_GRADES = 3 |
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 | |
$exercise | |
$assignment | |
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 |
||
) |
ilExerciseManagementGUI::addMembersObject | ( | $a_user_ids = array() | ) |
Add new partipant.
Definition at line 448 of file class.ilExerciseManagementGUI.php.
References ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by addUserFromAutoCompleteObject().
ilExerciseManagementGUI::addSubTabs | ( | $a_activate | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 186 of file class.ilExerciseManagementGUI.php.
References $_GET, $ilCtrl, and $lng.
Referenced by executeCommand(), membersObject(), showGradesOverviewObject(), showMultiFeedbackConfirmationTableObject(), showMultiFeedbackObject(), and showParticipantObject().
ilExerciseManagementGUI::addUserFromAutoCompleteObject | ( | ) |
Add user as member.
Definition at line 413 of file class.ilExerciseManagementGUI.php.
References $_POST, ilObjUser\_lookupId(), addMembersObject(), array, membersObject(), and ilUtil\sendFailure().
ilExerciseManagementGUI::adoptTeamsFromGroupObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1172 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, $tpl, getViewBack(), and initGroupForm().
Referenced by createTeamsFromGroupsObject().
ilExerciseManagementGUI::cancelMultiFeedbackObject | ( | ) |
Cancel Multi Feedback.
Definition at line 1470 of file class.ilExerciseManagementGUI.php.
ilExerciseManagementGUI::confirmDeassignMembersObject | ( | ) |
Confirm deassigning members.
Definition at line 823 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, $tpl, getMultiActionUserIds(), and ilUserUtil\getNamePresentation().
ilExerciseManagementGUI::createTeamsFromGroupsObject | ( | ) |
Definition at line 1240 of file class.ilExerciseManagementGUI.php.
References $_POST, $lng, $valid, adoptTeamsFromGroupObject(), array, ilExAssignmentTeam\getAssignmentTeamMap(), ilExAssignmentTeam\getGroupMembersMap(), ilExAssignmentTeam\getInstanceByUserId(), ilUserUtil\getNamePresentation(), initGroupForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::createTeamsObject | ( | ) |
Definition at line 1080 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, array, ilExAssignmentTeam\getInstanceByUserId(), getMultiActionUserIds(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::deassignMembersObject | ( | ) |
Deassign members from exercise.
Definition at line 849 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, getMultiActionUserIds(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::dissolveTeamsObject | ( | ) |
Definition at line 1137 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, ilExAssignmentTeam\getInstanceByUserId(), getMultiActionUserIds(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::downloadAllObject | ( | ) |
Download all submitted files (of all members).
Definition at line 692 of file class.ilExerciseManagementGUI.php.
References $file, ilObject\_exists(), array, ilExSubmission\downloadAllAssignmentFiles(), and ilObjectFactory\getInstanceByObjId().
ilExerciseManagementGUI::downloadMultiFeedbackZipObject | ( | ) |
Download multi-feedback structrue file.
Definition at line 1420 of file class.ilExerciseManagementGUI.php.
ilExerciseManagementGUI::executeCommand | ( | ) |
Definition at line 49 of file class.ilExerciseManagementGUI.php.
References $_GET, $cmd, $ilCtrl, $lng, addSubTabs(), array, ilFSStorageExercise\create(), ilUserUtil\getNamePresentation(), getViewBack(), initSubmission(), ilUtil\sendInfo(), and ilFileSystemGUI\setTableId().
ilExerciseManagementGUI::exportExcelObject | ( | ) |
Export as excel.
Definition at line 1069 of file class.ilExerciseManagementGUI.php.
References exit.
|
protected |
Definition at line 719 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, and ilUtil\sendFailure().
Referenced by confirmDeassignMembersObject(), createTeamsObject(), deassignMembersObject(), dissolveTeamsObject(), redirectFeedbackMailObject(), saveStatusSelectedObject(), and sendMembersObject().
|
protected |
Definition at line 148 of file class.ilExerciseManagementGUI.php.
Referenced by adoptTeamsFromGroupObject(), executeCommand(), initSubmission(), redirectFeedbackMailObject(), and saveStatus().
|
protected |
Definition at line 1547 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, $res, $tpl, $valid, ilDateTime\_before(), array, exit, ilDatePresentation\formatDate(), IL_CAL_UNIX, initIndividualDeadlineForm(), parseIndividualDeadlineData(), and ilUtil\sendSuccess().
|
protected |
Definition at line 1187 of file class.ilExerciseManagementGUI.php.
References $lng, $options, array, ilExAssignmentTeam\getGroupMembersMap(), and ilUserUtil\getNamePresentation().
Referenced by adoptTeamsFromGroupObject(), and createTeamsFromGroupsObject().
Definition at line 1645 of file class.ilExerciseManagementGUI.php.
References $section, ilObjUser\_lookupName(), array, ilExAssignmentTeam\getInstancesFromMap(), and IL_CAL_UNIX.
Referenced by handleIndividualDeadlineCallsObject().
|
protected |
Definition at line 1492 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 1366 of file class.ilExerciseManagementGUI.php.
References $lng, array, ilExAssignment\lookupTitle(), and ilFileInputGUI\setSuffixes().
Referenced by showMultiFeedbackObject(), and uploadMultiFeedbackObject().
|
protected |
Definition at line 168 of file class.ilExerciseManagementGUI.php.
References getViewBack().
Referenced by executeCommand().
ilExerciseManagementGUI::listTextAssignmentObject | ( | $a_show_peer_review = false | ) |
Definition at line 383 of file class.ilExerciseManagementGUI.php.
References $cmd, $ilCtrl, $lng, $tbl, $tpl, and ilExAssignment\TYPE_TEXT.
Referenced by listTextAssignmentWithPeerReviewObject().
ilExerciseManagementGUI::listTextAssignmentWithPeerReviewObject | ( | ) |
Definition at line 378 of file class.ilExerciseManagementGUI.php.
References listTextAssignmentObject().
ilExerciseManagementGUI::membersApplyObject | ( | ) |
Definition at line 331 of file class.ilExerciseManagementGUI.php.
References membersObject(), ilTable2GUI\resetOffset(), and saveStatusAllObject().
ilExerciseManagementGUI::membersObject | ( | ) |
All participants and submission of one assignment.
Definition at line 213 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, $options, $si, $tpl, addSubTabs(), array, 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(), and setIndividualDeadlineObject().
ilExerciseManagementGUI::membersResetObject | ( | ) |
Definition at line 342 of file class.ilExerciseManagementGUI.php.
References membersObject(), and ilTable2GUI\resetOffset().
|
protected |
Definition at line 1515 of file class.ilExerciseManagementGUI.php.
References $assignment, and array.
Referenced by handleIndividualDeadlineCallsObject().
ilExerciseManagementGUI::redirectFeedbackMailObject | ( | ) |
set feedback status for member and redirect to mail screen
Definition at line 640 of file class.ilExerciseManagementGUI.php.
References $_GET, ilLink\_getLink(), ilObjUser\_lookupLogin(), array, getMultiActionUserIds(), ilMailFormCall\getRedirectTarget(), getViewBack(), ilUtil\redirect(), and ilMailFormCall\SIGNATURE_KEY.
ilExerciseManagementGUI::saveCommentForLearnersObject | ( | ) |
Save comment for learner (asynch)
Definition at line 1016 of file class.ilExerciseManagementGUI.php.
References $_POST, $comment, $res, array, exit, and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveCommentsObject | ( | ) |
Definition at line 863 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, membersObject(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveGradesObject | ( | ) |
Save grades.
Definition at line 355 of file class.ilExerciseManagementGUI.php.
References $_POST, $ilCtrl, $lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveMultiFeedbackObject | ( | ) |
Save multi feedback.
Definition at line 1479 of file class.ilExerciseManagementGUI.php.
References $_POST, and ilUtil\sendSuccess().
|
protected |
Save status of selecte members.
Definition at line 958 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, ilObjUser\_lookupName(), array, getViewBack(), and ilUtil\sendSuccess().
Referenced by saveStatusAllObject(), and saveStatusParticipantObject().
ilExerciseManagementGUI::saveStatusAllObject | ( | array | $a_selected = null , |
$a_redirect = true |
|||
) |
Definition at line 911 of file class.ilExerciseManagementGUI.php.
References $_POST, $data, array, saveStatus(), and ilUtil\stripSlashes().
Referenced by membersApplyObject(), and saveStatusSelectedObject().
ilExerciseManagementGUI::saveStatusParticipantObject | ( | array | $a_selected = null | ) |
Save assignment status (participant view)
Definition at line 879 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, $data, $ilCtrl, array, saveStatus(), and ilUtil\stripSlashes().
Referenced by saveStatusSelectedObject().
ilExerciseManagementGUI::saveStatusSelectedObject | ( | ) |
Definition at line 941 of file class.ilExerciseManagementGUI.php.
References getMultiActionUserIds(), saveStatusAllObject(), and saveStatusParticipantObject().
ilExerciseManagementGUI::selectAssignmentObject | ( | ) |
Select assignment.
Definition at line 490 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, membersObject(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::selectParticipantObject | ( | ) |
Select participant.
Definition at line 604 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, showParticipantObject(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::sendMembersObject | ( | ) |
Send assignment per mail to participants.
Definition at line 799 of file class.ilExerciseManagementGUI.php.
References $_GET, getMultiActionUserIds(), and ilUtil\sendSuccess().
|
protected |
Definition at line 1709 of file class.ilExerciseManagementGUI.php.
References membersObject(), ilUtil\sendFailure(), and showParticipantObject().
ilExerciseManagementGUI::showGradesOverviewObject | ( | ) |
Show grades overview.
Definition at line 613 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, $tpl, and addSubTabs().
ilExerciseManagementGUI::showMultiFeedbackConfirmationTableObject | ( | ) |
Show multi feedback confirmation table.
Definition at line 1456 of file class.ilExerciseManagementGUI.php.
References $tab, $tpl, and addSubTabs().
ilExerciseManagementGUI::showMultiFeedbackObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Show multi-feedback screen.
Definition at line 1393 of file class.ilExerciseManagementGUI.php.
References $lng, $tpl, addSubTabs(), ilLinkButton\getInstance(), initMultiFeedbackForm(), and ilUtil\sendInfo().
Referenced by uploadMultiFeedbackObject().
ilExerciseManagementGUI::showParticipantApplyObject | ( | ) |
Definition at line 581 of file class.ilExerciseManagementGUI.php.
References $_GET, and showParticipantObject().
ilExerciseManagementGUI::showParticipantObject | ( | ) |
Show Participant.
Definition at line 499 of file class.ilExerciseManagementGUI.php.
References $_GET, $ilCtrl, $lng, $options, $si, $tpl, ilObjUser\_lookupName(), ilObject\_lookupType(), addSubTabs(), array, ilExAssignment\getAssignmentDataOfExercise(), ilSubmitButton\getInstance(), initIndividualDeadlineModal(), ilUtil\sendInfo(), and ilUtil\sortArray().
Referenced by selectParticipantObject(), setIndividualDeadlineObject(), showParticipantApplyObject(), and showParticipantResetObject().
ilExerciseManagementGUI::showParticipantResetObject | ( | ) |
Definition at line 591 of file class.ilExerciseManagementGUI.php.
References $_GET, and showParticipantObject().
ilExerciseManagementGUI::uploadMultiFeedbackObject | ( | ) |
Upload multi feedback file.
Definition at line 1428 of file class.ilExerciseManagementGUI.php.
References initMultiFeedbackForm(), ilUtil\sendFailure(), showMultiFeedbackObject(), and ilUtil\stripSlashesArray().
|
protected |
Definition at line 21 of file class.ilExerciseManagementGUI.php.
Referenced by parseIndividualDeadlineData().
|
protected |
Definition at line 20 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::VIEW_ASSIGNMENT = 1 |
Definition at line 23 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::VIEW_GRADES = 3 |
Definition at line 25 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::VIEW_PARTICIPANT = 2 |
Definition at line 24 of file class.ilExerciseManagementGUI.php.