ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
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... | |
membersObject () | |
All participants and submission of one assignment. More... | |
saveGradesObject () | |
Save grades. More... | |
listTextAssignmentWithPeerReviewObject () | |
listTextAssignmentObject ($a_show_peer_review=false) | |
addUserFromAutoCompleteObject () | |
Add user as member. More... | |
addMembersObject ($a_user_ids=array()) | |
Add new partipant. More... | |
selectAssignmentObject () | |
Select assignment. More... | |
showParticipantObject () | |
Show Participant. More... | |
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 () | |
Save assignment status (participant view) More... | |
saveStatusAllObject () | |
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... | |
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) | |
Save status of selecte members. More... | |
initGroupForm () | |
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 |
||
) |
Constructor.
int | $a_exercise_id |
Definition at line 33 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, and $tpl.
ilExerciseManagementGUI::addMembersObject | ( | $a_user_ids = array() | ) |
Add new partipant.
Definition at line 409 of file class.ilExerciseManagementGUI.php.
References $ilErr, 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 179 of file class.ilExerciseManagementGUI.php.
Referenced by executeCommand(), membersObject(), showGradesOverviewObject(), showMultiFeedbackConfirmationTableObject(), showMultiFeedbackObject(), and showParticipantObject().
ilExerciseManagementGUI::addUserFromAutoCompleteObject | ( | ) |
Add user as member.
Definition at line 374 of file class.ilExerciseManagementGUI.php.
References $_POST, ilObjUser\_lookupId(), addMembersObject(), membersObject(), and ilUtil\sendFailure().
ilExerciseManagementGUI::adoptTeamsFromGroupObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1045 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, $tpl, getViewBack(), and initGroupForm().
Referenced by createTeamsFromGroupsObject().
ilExerciseManagementGUI::cancelMultiFeedbackObject | ( | ) |
Cancel Multi Feedback.
Definition at line 1343 of file class.ilExerciseManagementGUI.php.
ilExerciseManagementGUI::confirmDeassignMembersObject | ( | ) |
Confirm deassigning members.
Definition at line 724 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, $tpl, getMultiActionUserIds(), and ilUserUtil\getNamePresentation().
ilExerciseManagementGUI::createTeamsFromGroupsObject | ( | ) |
Definition at line 1113 of file class.ilExerciseManagementGUI.php.
References $_POST, $lng, $valid, adoptTeamsFromGroupObject(), ilExAssignmentTeam\getAssignmentTeamMap(), ilExAssignmentTeam\getGroupMembersMap(), ilExAssignmentTeam\getInstanceByUserId(), ilUserUtil\getNamePresentation(), initGroupForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::createTeamsObject | ( | ) |
Definition at line 949 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, ilExAssignmentTeam\getInstanceByUserId(), getMultiActionUserIds(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::deassignMembersObject | ( | ) |
Deassign members from exercise.
Definition at line 752 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, getMultiActionUserIds(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::dissolveTeamsObject | ( | ) |
Definition at line 1008 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 640 of file class.ilExerciseManagementGUI.php.
References $file, ilObject\_exists(), ilExSubmission\downloadAllAssignmentFiles(), and ilObjectFactory\getInstanceByObjId().
ilExerciseManagementGUI::downloadMultiFeedbackZipObject | ( | ) |
Download multi-feedback structrue file.
Definition at line 1293 of file class.ilExerciseManagementGUI.php.
ilExerciseManagementGUI::executeCommand | ( | ) |
Definition at line 49 of file class.ilExerciseManagementGUI.php.
References $_GET, $cmd, $ilCtrl, $lng, addSubTabs(), ilFSStorageExercise\create(), ilUserUtil\getNamePresentation(), getViewBack(), initSubmission(), ilUtil\sendInfo(), and ilFileSystemGUI\setTableId().
ilExerciseManagementGUI::exportExcelObject | ( | ) |
|
protected |
Definition at line 667 of file class.ilExerciseManagementGUI.php.
References $_POST, and ilUtil\sendFailure().
Referenced by confirmDeassignMembersObject(), createTeamsObject(), deassignMembersObject(), dissolveTeamsObject(), redirectFeedbackMailObject(), saveStatusSelectedObject(), and sendMembersObject().
|
protected |
Definition at line 141 of file class.ilExerciseManagementGUI.php.
References $_REQUEST.
Referenced by adoptTeamsFromGroupObject(), executeCommand(), initSubmission(), redirectFeedbackMailObject(), and saveStatus().
|
protected |
Definition at line 1060 of file class.ilExerciseManagementGUI.php.
References $lng, $options, ilExAssignmentTeam\getGroupMembersMap(), and ilUserUtil\getNamePresentation().
Referenced by adoptTeamsFromGroupObject(), and createTeamsFromGroupsObject().
ilExerciseManagementGUI::initMultiFeedbackForm | ( | $a_ass_id | ) |
Definition at line 1239 of file class.ilExerciseManagementGUI.php.
References $lng, ilExAssignment\lookupTitle(), and ilFileInputGUI\setSuffixes().
Referenced by showMultiFeedbackObject(), and uploadMultiFeedbackObject().
|
protected |
Definition at line 161 of file class.ilExerciseManagementGUI.php.
References $_REQUEST, and getViewBack().
Referenced by executeCommand().
ilExerciseManagementGUI::listTextAssignmentObject | ( | $a_show_peer_review = false | ) |
Definition at line 344 of file class.ilExerciseManagementGUI.php.
References $cmd, $ilCtrl, $lng, $tbl, $tpl, and ilExAssignment\TYPE_TEXT.
Referenced by listTextAssignmentWithPeerReviewObject().
ilExerciseManagementGUI::listTextAssignmentWithPeerReviewObject | ( | ) |
Definition at line 339 of file class.ilExerciseManagementGUI.php.
References listTextAssignmentObject().
ilExerciseManagementGUI::membersObject | ( | ) |
All participants and submission of one assignment.
Definition at line 197 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, $options, $si, $tpl, addSubTabs(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilExAssignmentTeam\getAdoptableGroups(), ilSubmitButton\getInstance(), ilExAssignment\getInstancesByExercise(), ilExSubmission\hasAnySubmissions(), ilUtil\sendInfo(), ilExAssignment\TYPE_TEXT, and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by addUserFromAutoCompleteObject(), saveCommentsObject(), and selectAssignmentObject().
ilExerciseManagementGUI::redirectFeedbackMailObject | ( | ) |
set feedback status for member and redirect to mail screen
Definition at line 585 of file class.ilExerciseManagementGUI.php.
References $_GET, ilLink\_getLink(), ilObjUser\_lookupLogin(), getMultiActionUserIds(), ilMailFormCall\getRedirectTarget(), getViewBack(), ilUtil\redirect(), ilUtil\sendFailure(), and ilMailFormCall\SIGNATURE_KEY.
ilExerciseManagementGUI::saveCommentForLearnersObject | ( | ) |
Save comment for learner (asynch)
Definition at line 885 of file class.ilExerciseManagementGUI.php.
References $_POST, $comment, $res, exit, ilUtil\shortenText(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveCommentsObject | ( | ) |
Definition at line 768 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, membersObject(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveGradesObject | ( | ) |
Save grades.
Definition at line 316 of file class.ilExerciseManagementGUI.php.
References $_POST, $ilCtrl, $lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveMultiFeedbackObject | ( | ) |
Save multi feedback.
Definition at line 1352 of file class.ilExerciseManagementGUI.php.
References $_POST, and ilUtil\sendSuccess().
|
protected |
Save status of selecte members.
Definition at line 842 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, ilObjUser\_lookupName(), getViewBack(), and ilUtil\sendSuccess().
Referenced by saveStatusAllObject(), saveStatusParticipantObject(), and saveStatusSelectedObject().
ilExerciseManagementGUI::saveStatusAllObject | ( | ) |
Definition at line 804 of file class.ilExerciseManagementGUI.php.
References $_POST, $data, saveStatus(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveStatusParticipantObject | ( | ) |
Save assignment status (participant view)
Definition at line 785 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, $data, $ilCtrl, saveStatus(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::saveStatusSelectedObject | ( | ) |
Definition at line 818 of file class.ilExerciseManagementGUI.php.
References $_POST, $data, getMultiActionUserIds(), saveStatus(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::selectAssignmentObject | ( | ) |
Select assignment.
Definition at line 453 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, membersObject(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::selectParticipantObject | ( | ) |
Select participant.
Definition at line 547 of file class.ilExerciseManagementGUI.php.
References $_GET, $_POST, showParticipantObject(), and ilUtil\stripSlashes().
ilExerciseManagementGUI::sendMembersObject | ( | ) |
Send assignment per mail to participants.
Definition at line 708 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, getMultiActionUserIds(), and ilUtil\sendSuccess().
ilExerciseManagementGUI::showGradesOverviewObject | ( | ) |
Show grades overview.
Definition at line 558 of file class.ilExerciseManagementGUI.php.
References $ilCtrl, $lng, $tpl, and addSubTabs().
ilExerciseManagementGUI::showMultiFeedbackConfirmationTableObject | ( | ) |
Show multi feedback confirmation table.
Definition at line 1329 of file class.ilExerciseManagementGUI.php.
References $tab, $tpl, and addSubTabs().
ilExerciseManagementGUI::showMultiFeedbackObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Show multi-feedback screen.
Definition at line 1266 of file class.ilExerciseManagementGUI.php.
References $lng, $tpl, addSubTabs(), ilLinkButton\getInstance(), initMultiFeedbackForm(), and ilUtil\sendInfo().
Referenced by uploadMultiFeedbackObject().
ilExerciseManagementGUI::showParticipantObject | ( | ) |
Show Participant.
Definition at line 464 of file class.ilExerciseManagementGUI.php.
References $_GET, $ilCtrl, $lng, $options, $si, $tpl, ilObjUser\_lookupName(), ilObject\_lookupType(), addSubTabs(), ilExAssignment\getAssignmentDataOfExercise(), ilSubmitButton\getInstance(), ilUtil\sendInfo(), and ilUtil\sortArray().
Referenced by selectParticipantObject().
ilExerciseManagementGUI::uploadMultiFeedbackObject | ( | ) |
Upload multi feedback file.
Definition at line 1301 of file class.ilExerciseManagementGUI.php.
References initMultiFeedbackForm(), ilUtil\sendFailure(), showMultiFeedbackObject(), and ilUtil\stripSlashesArray().
|
protected |
Definition at line 21 of file class.ilExerciseManagementGUI.php.
|
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.