ILIAS
eassessment Revision 61809
|
Class ilObjExerciseGUI. More...
Public Member Functions | |
ilObjExerciseGUI ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
Constructor public. | |
getFiles () | |
setFiles ($a_files) | |
& | executeCommand () |
execute command | |
createObject ($a_reload=false) | |
initImportForm ($a_new_type="") | |
Init object import form. | |
importFileObject () | |
Import. | |
viewObject () | |
list childs of current object | |
downloadObject () | |
User downloads (own) submitted files. | |
confirmDeleteDeliveredObject () | |
Confirm deletion of delivered files. | |
deleteDeliveredObject () | |
Delete file(s) submitted by user. | |
submissionScreenObject () | |
Displays a form which allows members to deliver their solutions. | |
initUploadForm () | |
Init upload form form. | |
initZipUploadForm () | |
Init upload form form. | |
deliverFileObject () | |
Upload files. | |
deliverUnzipObject () | |
Upload zip file. | |
downloadFeedbackFileObject () | |
Download feedback file. | |
downloadFileObject () | |
Download assignment file. | |
saveObject () | |
save object public | |
editObject () | |
Edit object. | |
initPropertiesForm ($a_mode="create") | |
Init properties form. | |
getPropertiesValues () | |
Get values for properties form. | |
updateObject () | |
Update exercise from values from form. | |
cancelEditObject () | |
uploadZipObject () | |
uploadFileObject () | |
updateMembersObject () | |
update data of members table | |
downloadReturnedObject () | |
Download submitted files of user. | |
downloadNewReturnedObject () | |
Download newly submitted files of user. | |
addMembersObject () | |
Add new partipant. | |
membersObject () | |
All participants and submission of one assignment. | |
selectAssignmentObject () | |
Select assignment. | |
showParticipantObject () | |
Show Participant. | |
selectParticipantObject () | |
Select participant. | |
showGradesOverviewObject () | |
Show grades overview. | |
redirectFeedbackMailObject () | |
set feedback status for member and redirect to mail screen | |
downloadAllObject () | |
Download all submitted files (of all members). | |
__getMembersOfObject ($a_result, $a_type) | |
__showObjectSelect ($a_result, $a_type) | |
sendMembersObject () | |
Send assignment per mail to participants. | |
confirmDeassignMembersObject () | |
Confirm deassigning members. | |
deassignMembersObject () | |
Deassign members from exercise. | |
saveCommentsObject () | |
saveStatusParticipantObject () | |
Save assignment status (participant view) | |
saveStatusObject ($a_part_view=false) | |
Save status of selecte members. | |
__getDateSelect ($a_type, $a_selected) | |
__filterAssignedUsers ($a_result) | |
addSubmissionSubTabs ($a_activate) | |
adds tabs to tab gui object | |
addContentSubTabs ($a_activate) | |
Add subtabs of content view. | |
getTabs ($tabs_gui) | |
adds tabs to tab gui object | |
infoScreenObject () | |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed | |
infoScreen () | |
show information screen | |
_goto ($a_target) | |
redirect script | |
addLocatorItems () | |
Add locator item. | |
listAssignmentsObject () | |
List assignments. | |
addAssignmentObject () | |
Create assignment. | |
initAssignmentForm ($a_mode="create") | |
Init assignment form. | |
saveAssignmentObject () | |
Save assignment. | |
editAssignmentObject () | |
Edit assignment. | |
getAssignmentValues () | |
Get current values for assignment from. | |
updateAssignmentObject () | |
Update assignment. | |
confirmAssignmentsDeletionObject () | |
Confirm assignments deletion. | |
deleteAssignmentsObject () | |
Delete assignments. | |
saveAssignmentOrderObject () | |
Save assignments order. | |
orderAssignmentsByDeadlineObject () | |
Order by deadline. | |
setAssignmentHeader () | |
Set assignment header. | |
showOverviewObject () | |
Show overview of assignments. | |
listPublicSubmissionsObject () | |
List all submissions. | |
exportExcelObject () | |
Export as excel. | |
saveGradesObject () | |
Save grades. | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
getCreationMode () | |
get creation mode | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
createObject () | |
create new object form | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. |
Protected Member Functions | |
sendNotifications ($assignment_id) | |
Send submission notifications. | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
afterUpdate () | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
getTabs (&$tabs_gui) | |
get tabs abstract method. | |
__showButton ($a_cmd, $a_text, $a_target= '') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
__showClipboardTable ($a_result_set, $a_from="") | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="") |
Additional Inherited Members | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$ilias | |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false |
Class ilObjExerciseGUI.
ilObjExerciseGUI: ilPermissionGUI, ilLearningProgressGUI, ilInfoScreenGUI, ilRepositorySearchGUI ilObjExerciseGUI: ilObjectCopyGUI, ilFileSystemGUI, ilExportGUI
Definition at line 19 of file class.ilObjExerciseGUI.php.
ilObjExerciseGUI::__filterAssignedUsers | ( | $a_result | ) |
Definition at line 1631 of file class.ilObjExerciseGUI.php.
ilObjExerciseGUI::__getDateSelect | ( | $a_type, | |
$a_selected | |||
) |
Definition at line 1590 of file class.ilObjExerciseGUI.php.
References formSelect().
ilObjExerciseGUI::__getMembersOfObject | ( | $a_result, | |
$a_type | |||
) |
Definition at line 1356 of file class.ilObjExerciseGUI.php.
References ilObjectFactory\getInstanceByRefId().
ilObjExerciseGUI::__showObjectSelect | ( | $a_result, | |
$a_type | |||
) |
Definition at line 1385 of file class.ilObjExerciseGUI.php.
References ilObjectFactory\getInstanceByRefId().
ilObjExerciseGUI::_goto | ( | $a_target | ) |
redirect script
string | $a_target |
Definition at line 1883 of file class.ilObjExerciseGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilObjExerciseGUI::addAssignmentObject | ( | ) |
Create assignment.
Definition at line 1957 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), and initAssignmentForm().
ilObjExerciseGUI::addContentSubTabs | ( | $a_activate | ) |
Add subtabs of content view.
object | $tabs_gui | ilTabsGUI object |
Definition at line 1667 of file class.ilObjExerciseGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
Referenced by addAssignmentObject(), confirmAssignmentsDeletionObject(), confirmDeleteDeliveredObject(), listAssignmentsObject(), listPublicSubmissionsObject(), saveAssignmentObject(), showOverviewObject(), submissionScreenObject(), and updateAssignmentObject().
ilObjExerciseGUI::addLocatorItems | ( | ) |
Add locator item.
Reimplemented from ilObjectGUI.
Definition at line 1920 of file class.ilObjExerciseGUI.php.
References $_GET.
ilObjExerciseGUI::addMembersObject | ( | ) |
Add new partipant.
Definition at line 1058 of file class.ilObjExerciseGUI.php.
References $_POST, $ilErr, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjExerciseGUI::addSubmissionSubTabs | ( | $a_activate | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1649 of file class.ilObjExerciseGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
Referenced by membersObject(), showGradesOverviewObject(), and showParticipantObject().
ilObjExerciseGUI::cancelEditObject | ( | ) |
Definition at line 944 of file class.ilObjExerciseGUI.php.
ilObjExerciseGUI::confirmAssignmentsDeletionObject | ( | ) |
Confirm assignments deletion.
Definition at line 2206 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), ilExAssignment\lookupTitle(), and ilUtil\sendInfo().
ilObjExerciseGUI::confirmDeassignMembersObject | ( | ) |
Confirm deassigning members.
Definition at line 1434 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), ilUserUtil\getNamePresentation(), and ilUtil\sendFailure().
ilObjExerciseGUI::confirmDeleteDeliveredObject | ( | ) |
Confirm deletion of delivered files.
Definition at line 317 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $f, $files, $ilCtrl, ilObjectGUI\$lng, $title, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), ilExAssignment\getDeliveredFiles(), and ilUtil\sendFailure().
ilObjExerciseGUI::createObject | ( | $a_reload = false | ) |
Definition at line 193 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\fillCloneTemplate(), ilObjectGUI\getTemplateFile(), initImportForm(), and initPropertiesForm().
ilObjExerciseGUI::deassignMembersObject | ( | ) |
Deassign members from exercise.
Definition at line 1469 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, $usr_id, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by updateMembersObject().
ilObjExerciseGUI::deleteAssignmentsObject | ( | ) |
Delete assignments.
Definition at line 2243 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, $ilDB, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjExerciseGUI::deleteDeliveredObject | ( | ) |
Delete file(s) submitted by user.
@return |
Definition at line 373 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjExerciseGUI::deliverFileObject | ( | ) |
Upload files.
Definition at line 482 of file class.ilObjExerciseGUI.php.
References $_GET, $file, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and sendNotifications().
ilObjExerciseGUI::deliverUnzipObject | ( | ) |
Upload zip file.
Definition at line 518 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\checkPermission(), and sendNotifications().
ilObjExerciseGUI::downloadAllObject | ( | ) |
Download all submitted files (of all members).
Definition at line 1329 of file class.ilObjExerciseGUI.php.
References $_GET, ilObject\_exists(), ilObjectGUI\checkPermission(), ilExAssignment\downloadAllDeliveredFiles(), exit, ilObjectFactory\getInstanceByObjId(), and ilExAssignment\updateTutorDownloadTime().
ilObjExerciseGUI::downloadFeedbackFileObject | ( | ) |
Download feedback file.
Definition at line 539 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $file, $files, ilObjectGUI\checkPermission(), ilUtil\deliverFile(), exit, and ilUtil\sendFailure().
ilObjExerciseGUI::downloadFileObject | ( | ) |
Download assignment file.
Definition at line 596 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $file, $files, ilObjectGUI\checkPermission(), ilUtil\deliverFile(), exit, getFiles(), and ilUtil\sendFailure().
ilObjExerciseGUI::downloadNewReturnedObject | ( | ) |
Download newly submitted files of user.
Definition at line 1043 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\checkPermission(), ilExAssignment\deliverReturnedFiles(), and exit.
ilObjExerciseGUI::downloadObject | ( | ) |
User downloads (own) submitted files.
@return |
Definition at line 296 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\checkPermission(), ilExAssignment\downloadSelectedFiles(), exit, and ilUtil\sendFailure().
ilObjExerciseGUI::downloadReturnedObject | ( | ) |
Download submitted files of user.
Definition at line 1017 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\checkPermission(), ilExAssignment\deliverReturnedFiles(), and exit.
ilObjExerciseGUI::editAssignmentObject | ( | ) |
Edit assignment.
Definition at line 2106 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), getAssignmentValues(), initAssignmentForm(), and setAssignmentHeader().
ilObjExerciseGUI::editObject | ( | ) |
Edit object.
Reimplemented from ilObjectGUI.
Definition at line 692 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), getPropertiesValues(), ilObjectGUI\getTemplateFile(), and initPropertiesForm().
& ilObjExerciseGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 54 of file class.ilObjExerciseGUI.php.
References $_GET, $cmd, $ilCtrl, ilObjectGUI\$lng, $ret, ilObjectGUI\checkPermission(), ilUserUtil\getNamePresentation(), infoScreen(), ilExAssignment\lookupTitle(), LP_MODE_REPOSITORY, ilObjectGUI\prepareOutput(), setAssignmentHeader(), and ilFileSystemGUI\setTableId().
ilObjExerciseGUI::exportExcelObject | ( | ) |
Export as excel.
Definition at line 2386 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and exit.
ilObjExerciseGUI::getAssignmentValues | ( | ) |
Get current values for assignment from.
Definition at line 2124 of file class.ilObjExerciseGUI.php.
References $_GET, IL_CAL_UNIX, and ilDateTime\setDate().
Referenced by editAssignmentObject().
ilObjExerciseGUI::getFiles | ( | ) |
Definition at line 44 of file class.ilObjExerciseGUI.php.
Referenced by downloadFileObject().
ilObjExerciseGUI::getPropertiesValues | ( | ) |
Get values for properties form.
Definition at line 846 of file class.ilObjExerciseGUI.php.
References ilNotification\hasNotification(), and ilNotification\TYPE_EXERCISE_SUBMISSION.
Referenced by editObject().
ilObjExerciseGUI::getTabs | ( | $tabs_gui | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1687 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\$lng, and ilLearningProgressAccess\checkAccess().
ilObjExerciseGUI::ilObjExerciseGUI | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prepare_output = true |
|||
) |
Constructor public.
Definition at line 25 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
ilObjExerciseGUI::importFileObject | ( | ) |
Import.
public
Definition at line 247 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, ilObjectGUI\$lng, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, ilObjectFactory\getInstanceByObjId(), initImportForm(), and ilUtil\sendSuccess().
ilObjExerciseGUI::infoScreen | ( | ) |
show information screen
Definition at line 1773 of file class.ilObjExerciseGUI.php.
References $_GET, $img, ilObjectGUI\$lng, ilLPMarks\_lookupComment(), ilLPMarks\_lookupMark(), ilObjectGUI\checkPermission(), and ilExAssignment\getAssignmentDataOfExercise().
Referenced by executeCommand(), and infoScreenObject().
ilObjExerciseGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 1763 of file class.ilObjExerciseGUI.php.
References infoScreen().
Referenced by viewObject().
ilObjExerciseGUI::initAssignmentForm | ( | $a_mode = "create" | ) |
Init assignment form.
int | $a_mode | "create"/"edit" |
Definition at line 1975 of file class.ilObjExerciseGUI.php.
References $files, $ilCtrl, ilObjectGUI\$lng, ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), ilTextAreaInputGUI\setRows(), and ilDateTimeInputGUI\setShowTime().
Referenced by addAssignmentObject(), editAssignmentObject(), saveAssignmentObject(), and updateAssignmentObject().
ilObjExerciseGUI::initImportForm | ( | $a_new_type = "" | ) |
Init object import form.
string | new type |
Definition at line 217 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileInputGUI\setSuffixes().
Referenced by createObject(), and importFileObject().
ilObjExerciseGUI::initPropertiesForm | ( | $a_mode = "create" | ) |
Init properties form.
int | $a_mode | "create"/"edit" |
Definition at line 722 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilExAssignment\countMandatory(), ilUtil\getImagePath(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilNumberInputGUI\setSize(), and ilRadioGroupInputGUI\setValue().
Referenced by createObject(), editObject(), saveObject(), and updateObject().
ilObjExerciseGUI::initUploadForm | ( | ) |
Init upload form form.
Definition at line 437 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileWizardInputGUI\setFilenames().
Referenced by submissionScreenObject().
ilObjExerciseGUI::initZipUploadForm | ( | ) |
Init upload form form.
Definition at line 460 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileInputGUI\setSuffixes().
Referenced by submissionScreenObject().
ilObjExerciseGUI::listAssignmentsObject | ( | ) |
List assignments.
Definition at line 1937 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $t, ilObjectGUI\$tpl, addContentSubTabs(), and ilObjectGUI\checkPermission().
ilObjExerciseGUI::listPublicSubmissionsObject | ( | ) |
List all submissions.
Definition at line 2368 of file class.ilObjExerciseGUI.php.
References $_GET, $tab, ilObjectGUI\$tpl, addContentSubTabs(), and ilObjectGUI\checkPermission().
ilObjExerciseGUI::membersObject | ( | ) |
All participants and submission of one assignment.
Definition at line 1087 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, ilObjectGUI\$tree, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), addSubmissionSubTabs(), ilObjectGUI\checkPermission(), ilExAssignment\getAssignmentDataOfExercise(), ilUtil\sendInfo(), and ilSelectInputGUI\setOptions().
Referenced by saveCommentsObject(), and selectAssignmentObject().
ilObjExerciseGUI::orderAssignmentsByDeadlineObject | ( | ) |
Order by deadline.
Definition at line 2287 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilExAssignment\orderAssByDeadline(), and ilUtil\sendSuccess().
ilObjExerciseGUI::redirectFeedbackMailObject | ( | ) |
set feedback status for member and redirect to mail screen
Definition at line 1295 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, ilMailFormCall\_getRedirectTarget(), ilObjUser\_lookupLogin(), ilObjectGUI\checkPermission(), ilUtil\redirect(), ilUtil\sendFailure(), and ilExAssignment\updateStatusFeedbackForUser().
Referenced by updateMembersObject().
ilObjExerciseGUI::saveAssignmentObject | ( | ) |
Save assignment.
Definition at line 2051 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), IL_CAL_UNIX, initAssignmentForm(), and ilUtil\sendSuccess().
ilObjExerciseGUI::saveAssignmentOrderObject | ( | ) |
Save assignments order.
Definition at line 2271 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilExAssignment\saveAssOrderOfExercise(), and ilUtil\sendSuccess().
ilObjExerciseGUI::saveCommentsObject | ( | ) |
Definition at line 1491 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjExerciseGUI::saveGradesObject | ( | ) |
Save grades.
Definition at line 2396 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjExerciseGUI::saveObject | ( | ) |
save object public
Reimplemented from ilObjectGUI.
Definition at line 655 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\createObject(), initPropertiesForm(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjExerciseGUI::saveStatusObject | ( | $a_part_view = false | ) |
Save status of selecte members.
Definition at line 1519 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjUser\_lookupName(), ilObjectGUI\checkPermission(), ilExAssignment\lookupMarkOfUser(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), ilExAssignment\updateCommentForUser(), ilExAssignment\updateMarkOfUser(), ilExAssignment\updateNoticeForUser(), ilExAssignment\updateStatusOfUser(), and ilExAssignment\updateStatusTimeOfUser().
Referenced by saveStatusParticipantObject(), and updateMembersObject().
ilObjExerciseGUI::saveStatusParticipantObject | ( | ) |
Save assignment status (participant view)
Definition at line 1510 of file class.ilObjExerciseGUI.php.
References saveStatusObject().
ilObjExerciseGUI::selectAssignmentObject | ( | ) |
Select assignment.
Definition at line 1167 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, membersObject(), and ilUtil\stripSlashes().
ilObjExerciseGUI::selectParticipantObject | ( | ) |
Select participant.
Definition at line 1254 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, showParticipantObject(), and ilUtil\stripSlashes().
ilObjExerciseGUI::sendMembersObject | ( | ) |
Send assignment per mail to participants.
Definition at line 1412 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by updateMembersObject().
|
protected |
Send submission notifications.
int | $assignment_id |
Definition at line 2421 of file class.ilObjExerciseGUI.php.
References ilNotification\getNotificationsForObject(), ilNotification\TYPE_EXERCISE_SUBMISSION, and ilExerciseMailNotification\TYPE_SUBMISSION_UPLOAD.
Referenced by deliverFileObject(), and deliverUnzipObject().
ilObjExerciseGUI::setAssignmentHeader | ( | ) |
Set assignment header.
Definition at line 2303 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilExAssignment\lookupTitle().
Referenced by editAssignmentObject(), and executeCommand().
ilObjExerciseGUI::setFiles | ( | $a_files | ) |
Definition at line 49 of file class.ilObjExerciseGUI.php.
ilObjExerciseGUI::showGradesOverviewObject | ( | ) |
Show grades overview.
Definition at line 1267 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\$tree, addSubmissionSubTabs(), and ilObjectGUI\checkPermission().
ilObjExerciseGUI::showOverviewObject | ( | ) |
Show overview of assignments.
Definition at line 2334 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, ilLearningProgress\_tracProgress(), addContentSubTabs(), ilObjectGUI\checkPermission(), and ilExAssignment\getAssignmentDataOfExercise().
ilObjExerciseGUI::showParticipantObject | ( | ) |
Show Participant.
Definition at line 1180 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $name, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObjUser\_lookupName(), ilObject\_lookupType(), addSubmissionSubTabs(), ilObjectGUI\checkPermission(), ilExAssignment\getAssignmentDataOfExercise(), ilUtil\sendInfo(), ilSelectInputGUI\setOptions(), and ilUtil\sortArray().
Referenced by selectParticipantObject().
ilObjExerciseGUI::submissionScreenObject | ( | ) |
Displays a form which allows members to deliver their solutions.
public
Definition at line 403 of file class.ilObjExerciseGUI.php.
References $_GET, $tab, addContentSubTabs(), ilObjectGUI\checkPermission(), ilObjectGUI\getTemplateFile(), initUploadForm(), initZipUploadForm(), and ilUtil\sendInfo().
ilObjExerciseGUI::updateAssignmentObject | ( | ) |
Update assignment.
Definition at line 2155 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), IL_CAL_UNIX, initAssignmentForm(), and ilUtil\sendSuccess().
ilObjExerciseGUI::updateMembersObject | ( | ) |
update data of members table
Definition at line 980 of file class.ilObjExerciseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), deassignMembersObject(), exit, redirectFeedbackMailObject(), saveStatusObject(), and sendMembersObject().
ilObjExerciseGUI::updateObject | ( | ) |
Update exercise from values from form.
Reimplemented from ilObjectGUI.
Definition at line 876 of file class.ilObjExerciseGUI.php.
References $_POST, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), initPropertiesForm(), ilUtil\sendSuccess(), ilNotification\setNotification(), ilUtil\stripSlashes(), and ilNotification\TYPE_EXERCISE_SUBMISSION.
ilObjExerciseGUI::uploadFileObject | ( | ) |
Definition at line 963 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and ilUtil\sendFailure().
ilObjExerciseGUI::uploadZipObject | ( | ) |
Definition at line 949 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and ilUtil\sendFailure().
ilObjExerciseGUI::viewObject | ( | ) |
list childs of current object
public
Reimplemented from ilObjectGUI.
Definition at line 285 of file class.ilObjExerciseGUI.php.
References infoScreenObject().