ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | |
$ctrl | |
$tabs_gui | |
$lng | |
$tpl | |
$toolbar | |
$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 514 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 230 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 483 of file class.ilExerciseManagementGUI.php.
References $_POST, $users, ilObjUser\_lookupId(), addMembersObject(), array, membersObject(), and ilUtil\sendFailure().
ilExerciseManagementGUI::adoptTeamsFromGroupObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1200 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 1465 of file class.ilExerciseManagementGUI.php.
ilExerciseManagementGUI::confirmDeassignMembersObject | ( | ) |
Confirm deassigning members.
Definition at line 872 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, $lng, $m, $tpl, getMultiActionUserIds(), and ilUserUtil\getNamePresentation().
ilExerciseManagementGUI::createTeamsFromGroupsObject | ( | ) |
Definition at line 1264 of file class.ilExerciseManagementGUI.php.
References $_POST, $form, $lng, $valid, adoptTeamsFromGroupObject(), array, ilExAssignmentTeam\getAssignmentTeamMap(), ilExAssignmentTeam\getGroupMembersMap(), ilExAssignmentTeam\getInstanceByUserId(), ilUserUtil\getNamePresentation(), initGroupForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::createTeamsObject | ( | ) |
Definition at line 1119 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, array, ilExAssignmentTeam\getInstanceByUserId(), getMultiActionUserIds(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::deassignMembersObject | ( | ) |
Deassign members from exercise.
Definition at line 902 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, $lng, getMultiActionUserIds(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::dissolveTeamsObject | ( | ) |
Definition at line 1168 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, ilExAssignmentTeam\getInstanceByUserId(), getMultiActionUserIds(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::downloadAllObject | ( | ) |
Download all submitted files (of all members).
Definition at line 768 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 1419 of file class.ilExerciseManagementGUI.php.
ilExerciseManagementGUI::executeCommand | ( | ) |
Definition at line 80 of file class.ilExerciseManagementGUI.php.
References $_GET, $ctrl, $GLOBALS, $ilCtrl, $lng, $tabs_gui, addSubTabs(), array, ilFSStorageExercise\create(), ilUserUtil\getNamePresentation(), getViewBack(), initSubmission(), ilUtil\sendInfo(), and ilFileSystemGUI\setTableId().
ilExerciseManagementGUI::exportExcelObject | ( | ) |
Export as excel.
Definition at line 1108 of file class.ilExerciseManagementGUI.php.
References exit.
|
protected |
Definition at line 792 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 191 of file class.ilExerciseManagementGUI.php.
Referenced by adoptTeamsFromGroupObject(), executeCommand(), initSubmission(), redirectFeedbackMailObject(), and saveStatus().
|
protected |
Definition at line 1537 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, $form, $id, $res, $tpl, $users, $valid, ilDateTime\_before(), array, exit, ilDatePresentation\formatDate(), IL_CAL_UNIX, initIndividualDeadlineForm(), parseIndividualDeadlineData(), and ilUtil\sendSuccess().
|
protected |
Definition at line 1219 of file class.ilExerciseManagementGUI.php.
References $form, $lng, $options, array, ilExAssignmentTeam\getGroupMembersMap(), and ilUserUtil\getNamePresentation().
Referenced by adoptTeamsFromGroupObject(), and createTeamsFromGroupsObject().
Definition at line 1618 of file class.ilExerciseManagementGUI.php.
References $form, $id, $name, $section, $users, ilObjUser\_lookupName(), array, ilExAssignmentTeam\getInstancesFromMap(), and IL_CAL_UNIX.
Referenced by handleIndividualDeadlineCallsObject().
|
protected |
Definition at line 1487 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 1364 of file class.ilExerciseManagementGUI.php.
References $form, $lng, array, ilExAssignment\lookupTitle(), and ilFileInputGUI\setSuffixes().
Referenced by showMultiFeedbackObject(), and uploadMultiFeedbackObject().
|
protected |
Definition at line 210 of file class.ilExerciseManagementGUI.php.
References getViewBack().
Referenced by executeCommand().
ilExerciseManagementGUI::listTextAssignmentObject | ( | $a_show_peer_review = false | ) |
Definition at line 452 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, $lng, $tabs_gui, $tbl, $tpl, and ilExAssignment\TYPE_TEXT.
Referenced by listTextAssignmentWithPeerReviewObject().
ilExerciseManagementGUI::listTextAssignmentWithPeerReviewObject | ( | ) |
Definition at line 447 of file class.ilExerciseManagementGUI.php.
References listTextAssignmentObject().
ilExerciseManagementGUI::membersApplyObject | ( | ) |
Definition at line 401 of file class.ilExerciseManagementGUI.php.
References membersObject(), ilTable2GUI\resetOffset(), and saveStatusAllObject().
ilExerciseManagementGUI::membersObject | ( | ) |
All participants and submission of one assignment.
Definition at line 280 of file class.ilExerciseManagementGUI.php.
References $ctrl, $GLOBALS, $ilCtrl, $lng, $options, $si, $toolbar, $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(), setIndividualDeadlineObject(), and waitingDownloadObject().
ilExerciseManagementGUI::membersResetObject | ( | ) |
Definition at line 412 of file class.ilExerciseManagementGUI.php.
References membersObject(), and ilTable2GUI\resetOffset().
|
protected |
Definition at line 1511 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 721 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 1057 of file class.ilExerciseManagementGUI.php.
References $_POST, $comment, $res, array, exit, and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveCommentsObject | ( | ) |
Definition at line 916 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, membersObject(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveGradesObject | ( | ) |
Save grades.
Definition at line 425 of file class.ilExerciseManagementGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveMultiFeedbackObject | ( | ) |
Save multi feedback.
Definition at line 1474 of file class.ilExerciseManagementGUI.php.
References $_POST, and ilUtil\sendSuccess().
|
protected |
Save status of selecte members.
Definition at line 1007 of file class.ilExerciseManagementGUI.php.
References $ctrl, $ilCtrl, $users, ilObjUser\_lookupName(), array, getViewBack(), and ilUtil\sendSuccess().
Referenced by saveStatusAllObject(), and saveStatusParticipantObject().
ilExerciseManagementGUI::saveStatusAllObject | ( | array | $a_selected = null , |
$a_redirect = true |
|||
) |
Definition at line 962 of file class.ilExerciseManagementGUI.php.
References $_POST, $data, $GLOBALS, array, saveStatus(), and ilUtil\stripSlashes().
Referenced by membersApplyObject(), and saveStatusSelectedObject().
ilExerciseManagementGUI::saveStatusParticipantObject | ( | array | $a_selected = null | ) |
Save assignment status (participant view)
Definition at line 933 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, $ctrl, $data, $ilCtrl, array, saveStatus(), and ilUtil\stripSlashes().
Referenced by saveStatusSelectedObject().
ilExerciseManagementGUI::saveStatusSelectedObject | ( | ) |
Definition at line 993 of file class.ilExerciseManagementGUI.php.
References getMultiActionUserIds(), saveStatusAllObject(), and saveStatusParticipantObject().
ilExerciseManagementGUI::selectAssignmentObject | ( | ) |
Select assignment.
Definition at line 552 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, membersObject(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::selectParticipantObject | ( | ) |
Select participant.
Definition at line 671 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, showParticipantObject(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::sendMembersObject | ( | ) |
Send assignment per mail to participants.
Definition at line 852 of file class.ilExerciseManagementGUI.php.
References $_GET, $users, getMultiActionUserIds(), and ilUtil\sendSuccess().
|
protected |
Definition at line 1675 of file class.ilExerciseManagementGUI.php.
References membersObject(), ilUtil\sendFailure(), and showParticipantObject().
ilExerciseManagementGUI::showGradesOverviewObject | ( | ) |
Show grades overview.
Definition at line 680 of file class.ilExerciseManagementGUI.php.
References $ctrl, $GLOBALS, $ilCtrl, $lng, $toolbar, $tpl, and addSubTabs().
ilExerciseManagementGUI::showMultiFeedbackConfirmationTableObject | ( | ) |
Show multi feedback confirmation table.
Definition at line 1451 of file class.ilExerciseManagementGUI.php.
References $tab, $tpl, and addSubTabs().
ilExerciseManagementGUI::showMultiFeedbackObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Show multi-feedback screen.
Definition at line 1391 of file class.ilExerciseManagementGUI.php.
References $lng, $toolbar, $tpl, addSubTabs(), ilLinkButton\getInstance(), initMultiFeedbackForm(), and ilUtil\sendInfo().
Referenced by uploadMultiFeedbackObject().
ilExerciseManagementGUI::showParticipantApplyObject | ( | ) |
Definition at line 648 of file class.ilExerciseManagementGUI.php.
References $_GET, and showParticipantObject().
ilExerciseManagementGUI::showParticipantObject | ( | ) |
Show Participant.
Definition at line 561 of file class.ilExerciseManagementGUI.php.
References $_GET, $ctrl, $GLOBALS, $ilCtrl, $lng, $m, $name, $options, $si, $toolbar, $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 658 of file class.ilExerciseManagementGUI.php.
References $_GET, and showParticipantObject().
ilExerciseManagementGUI::uploadMultiFeedbackObject | ( | ) |
Upload multi feedback file.
Definition at line 1427 of file class.ilExerciseManagementGUI.php.
References $form, initMultiFeedbackForm(), ilUtil\sendFailure(), showMultiFeedbackObject(), and ilUtil\stripSlashesArray().
ilExerciseManagementGUI::waitingDownloadObject | ( | ) |
Definition at line 265 of file class.ilExerciseManagementGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $url, array, membersObject(), and ilUtil\sendInfo().
|
protected |
Definition at line 46 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(), listTextAssignmentObject(), membersObject(), saveGradesObject(), saveStatus(), saveStatusParticipantObject(), showGradesOverviewObject(), showParticipantObject(), and waitingDownloadObject().
|
protected |
Definition at line 45 of file class.ilExerciseManagementGUI.php.
|
protected |
Definition at line 33 of file class.ilExerciseManagementGUI.php.
Referenced by __construct(), addSubTabs(), adoptTeamsFromGroupObject(), confirmDeassignMembersObject(), createTeamsFromGroupsObject(), deassignMembersObject(), executeCommand(), initGroupForm(), initIndividualDeadlineModal(), initMultiFeedbackForm(), listTextAssignmentObject(), membersObject(), saveGradesObject(), showGradesOverviewObject(), showMultiFeedbackObject(), showParticipantObject(), and waitingDownloadObject().
|
protected |
Definition at line 28 of file class.ilExerciseManagementGUI.php.
Referenced by addSubTabs(), adoptTeamsFromGroupObject(), executeCommand(), and listTextAssignmentObject().
|
protected |
Definition at line 43 of file class.ilExerciseManagementGUI.php.
Referenced by membersObject(), showGradesOverviewObject(), showMultiFeedbackObject(), and showParticipantObject().
|
protected |
Definition at line 38 of file class.ilExerciseManagementGUI.php.
Referenced by __construct(), adoptTeamsFromGroupObject(), confirmDeassignMembersObject(), handleIndividualDeadlineCallsObject(), initIndividualDeadlineModal(), listTextAssignmentObject(), membersObject(), showGradesOverviewObject(), showMultiFeedbackConfirmationTableObject(), showMultiFeedbackObject(), and showParticipantObject().
const ilExerciseManagementGUI::VIEW_ASSIGNMENT = 1 |
Definition at line 48 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::VIEW_GRADES = 3 |
Definition at line 50 of file class.ilExerciseManagementGUI.php.
const ilExerciseManagementGUI::VIEW_PARTICIPANT = 2 |
Definition at line 49 of file class.ilExerciseManagementGUI.php.