ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
File-based submissions. More...
Public Member Functions | |
__construct (ilObjExercise $a_exercise, ilExSubmission $a_submission) | |
Constructor. More... | |
executeCommand () | |
submissionScreenObject () | |
Displays a form which allows members to deliver their solutions. More... | |
uploadFormObject (ilPropertyFormGUI $a_form=null) | |
Display form for single file upload. More... | |
uploadZipFormObject (ilPropertyFormGUI $a_form=null) | |
Display form for zip file upload. More... | |
uploadFileObject () | |
Upload files. More... | |
uploadZipObject () | |
Upload zip file. More... | |
confirmDeleteDeliveredObject () | |
Confirm deletion of delivered files. More... | |
deleteDeliveredObject () | |
Delete file(s) submitted by user. More... | |
downloadReturnedObject ($a_only_new=false) | |
Download submitted files of user. More... | |
downloadNewReturnedObject () | |
Download newly submitted files of user. More... | |
downloadObject () | |
User downloads (own) submitted files. More... | |
Public Member Functions inherited from ilExSubmissionBaseGUI | |
__construct (ilObjExercise $a_exercise, ilExSubmission $a_submission) | |
returnToParentObject () | |
Static Public Member Functions | |
static | getOverviewContent (ilInfoScreenGUI $a_info, ilExSubmission $a_submission) |
Static Public Member Functions inherited from ilExSubmissionBaseGUI | |
static | getOverviewContent (ilInfoScreenGUI $a_info, ilExSubmission $a_submission) |
Protected Member Functions | |
initUploadForm () | |
Init upload form form. More... | |
initZipUploadForm () | |
Init upload form form. More... | |
Protected Member Functions inherited from ilExSubmissionBaseGUI | |
handleTabs () | |
handleNewUpload ($a_no_notifications=false) | |
handleRemovedUpload () | |
Protected Attributes | |
$toolbar | |
$help | |
$user | |
Protected Attributes inherited from ilExSubmissionBaseGUI | |
$ctrl | |
$tabs_gui | |
$lng | |
$tpl | |
$exercise | |
$submission | |
$assignment | |
File-based submissions.
Definition at line 12 of file class.ilExSubmissionFileGUI.php.
ilExSubmissionFileGUI::__construct | ( | ilObjExercise | $a_exercise, |
ilExSubmission | $a_submission | ||
) |
Constructor.
Definition at line 33 of file class.ilExSubmissionFileGUI.php.
ilExSubmissionFileGUI::confirmDeleteDeliveredObject | ( | ) |
Confirm deletion of delivered files.
Definition at line 330 of file class.ilExSubmissionFileGUI.php.
References $_POST, ilExSubmissionBaseGUI\$ctrl, $files, $i, $ilCtrl, ilExSubmissionBaseGUI\$lng, $title, ilExSubmissionBaseGUI\$tpl, and ilUtil\sendFailure().
ilExSubmissionFileGUI::deleteDeliveredObject | ( | ) |
Delete file(s) submitted by user.
Definition at line 381 of file class.ilExSubmissionFileGUI.php.
References $_POST, ilExSubmissionBaseGUI\$ctrl, $ilCtrl, ilExSubmissionBaseGUI\handleRemovedUpload(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilExSubmissionFileGUI::downloadNewReturnedObject | ( | ) |
Download newly submitted files of user.
Definition at line 425 of file class.ilExSubmissionFileGUI.php.
References downloadReturnedObject().
ilExSubmissionFileGUI::downloadObject | ( | ) |
User downloads (own) submitted files.
Definition at line 436 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $ilCtrl, exit, ilExSubmissionBaseGUI\returnToParentObject(), and ilUtil\sendFailure().
ilExSubmissionFileGUI::downloadReturnedObject | ( | $a_only_new = false | ) |
Download submitted files of user.
Definition at line 401 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$lng, ilExSubmissionBaseGUI\returnToParentObject(), and ilUtil\sendInfo().
Referenced by downloadNewReturnedObject().
ilExSubmissionFileGUI::executeCommand | ( | ) |
Definition at line 44 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $ilCtrl, and ilExSubmissionBaseGUI\returnToParentObject().
|
static |
Definition at line 62 of file class.ilExSubmissionFileGUI.php.
References $DIC, $file, $ilCtrl, ilExSubmissionBaseGUI\$lng, $title, ilInfoScreenGUI\addProperty(), array, ilExSubmission\canSubmit(), ilExSubmission\getFiles(), ilLinkButton\getInstance(), and ilExSubmission\hasNoTeamYet().
|
protected |
Init upload form form.
Definition at line 209 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $form, $ilCtrl, ilExSubmissionBaseGUI\$lng, array, and ilFileWizardInputGUI\setFilenames().
Referenced by uploadFileObject(), and uploadFormObject().
|
protected |
Init upload form form.
Definition at line 236 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $form, $ilCtrl, ilExSubmissionBaseGUI\$lng, array, and ilFileInputGUI\setSuffixes().
Referenced by uploadZipFormObject(), and uploadZipObject().
ilExSubmissionFileGUI::submissionScreenObject | ( | ) |
Displays a form which allows members to deliver their solutions.
public
Definition at line 108 of file class.ilExSubmissionFileGUI.php.
References $help, $ilUser, $tab, $toolbar, $user, ilDatePresentation\formatDate(), ilExSubmissionBaseGUI\handleTabs(), IL_CAL_UNIX, ilUtil\sendInfo(), and time.
ilExSubmissionFileGUI::uploadFileObject | ( | ) |
Upload files.
Definition at line 262 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $file, $form, $ilCtrl, $success, array, ilExSubmissionBaseGUI\handleNewUpload(), initUploadForm(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilUtil\sendSuccess(), and uploadFormObject().
ilExSubmissionFileGUI::uploadFormObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Display form for single file upload.
Definition at line 163 of file class.ilExSubmissionFileGUI.php.
References $help, and initUploadForm().
Referenced by uploadFileObject().
ilExSubmissionFileGUI::uploadZipFormObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Display form for zip file upload.
Definition at line 188 of file class.ilExSubmissionFileGUI.php.
References initZipUploadForm().
Referenced by uploadZipObject().
ilExSubmissionFileGUI::uploadZipObject | ( | ) |
Upload zip file.
Definition at line 303 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $form, $ilCtrl, ilExSubmissionBaseGUI\handleNewUpload(), initZipUploadForm(), ilUtil\sendInfo(), ilUtil\sendSuccess(), and uploadZipFormObject().
|
protected |
Definition at line 22 of file class.ilExSubmissionFileGUI.php.
Referenced by submissionScreenObject(), and uploadFormObject().
|
protected |
Definition at line 17 of file class.ilExSubmissionFileGUI.php.
Referenced by submissionScreenObject().
|
protected |
Definition at line 27 of file class.ilExSubmissionFileGUI.php.
Referenced by submissionScreenObject().