ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 | |
$ui | |
Protected Attributes inherited from ilExSubmissionBaseGUI | |
$ctrl | |
$tabs_gui | |
$lng | |
$tpl | |
$exercise | |
$submission | |
$assignment | |
$type_guis | |
File-based submissions.
Definition at line 12 of file class.ilExSubmissionFileGUI.php.
ilExSubmissionFileGUI::__construct | ( | ilObjExercise | $a_exercise, |
ilExSubmission | $a_submission | ||
) |
Constructor.
Definition at line 37 of file class.ilExSubmissionFileGUI.php.
ilExSubmissionFileGUI::confirmDeleteDeliveredObject | ( | ) |
Confirm deletion of delivered files.
Definition at line 337 of file class.ilExSubmissionFileGUI.php.
References $_POST, ilExSubmissionBaseGUI\$ctrl, $f, $files, $i, $ilCtrl, ilExSubmissionBaseGUI\$lng, $title, ilExSubmissionBaseGUI\$tpl, and ilUtil\sendFailure().
ilExSubmissionFileGUI::deleteDeliveredObject | ( | ) |
Delete file(s) submitted by user.
Definition at line 388 of file class.ilExSubmissionFileGUI.php.
References $_POST, ilExSubmissionBaseGUI\$ctrl, $ilCtrl, ilExSubmissionBaseGUI\handleRemovedUpload(), and ilUtil\sendFailure().
ilExSubmissionFileGUI::downloadNewReturnedObject | ( | ) |
Download newly submitted files of user.
Definition at line 432 of file class.ilExSubmissionFileGUI.php.
References downloadReturnedObject().
ilExSubmissionFileGUI::downloadObject | ( | ) |
User downloads (own) submitted files.
Definition at line 443 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 408 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$lng, ilExSubmissionBaseGUI\returnToParentObject(), and ilUtil\sendInfo().
Referenced by downloadNewReturnedObject().
ilExSubmissionFileGUI::executeCommand | ( | ) |
Definition at line 50 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $ilCtrl, and ilExSubmissionBaseGUI\returnToParentObject().
|
static |
Definition at line 68 of file class.ilExSubmissionFileGUI.php.
References $DIC, $ilCtrl, ilExSubmissionBaseGUI\$lng, $title, ilInfoScreenGUI\addProperty(), ilExSubmission\canSubmit(), ilExSubmission\getFiles(), ilLinkButton\getInstance(), and ilExSubmission\hasNoTeamYet().
|
protected |
Init upload form form.
Definition at line 216 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $form, $ilCtrl, ilExSubmissionBaseGUI\$lng, and ilFileWizardInputGUI\setFilenames().
Referenced by uploadFileObject(), and uploadFormObject().
|
protected |
Init upload form form.
Definition at line 243 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $form, $ilCtrl, ilExSubmissionBaseGUI\$lng, and ilFileInputGUI\setSuffixes().
Referenced by uploadZipFormObject(), and uploadZipObject().
ilExSubmissionFileGUI::submissionScreenObject | ( | ) |
Displays a form which allows members to deliver their solutions.
public
Definition at line 114 of file class.ilExSubmissionFileGUI.php.
References $help, $ilUser, $tab, $toolbar, $user, ilDatePresentation\formatDate(), ilExSubmissionBaseGUI\handleTabs(), IL_CAL_UNIX, and ilUtil\sendInfo().
ilExSubmissionFileGUI::uploadFileObject | ( | ) |
Upload files.
Definition at line 269 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $form, $ilCtrl, $success, ilExSubmissionBaseGUI\handleNewUpload(), initUploadForm(), ilUtil\sendFailure(), ilUtil\sendInfo(), and uploadFormObject().
ilExSubmissionFileGUI::uploadFormObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Display form for single file upload.
Definition at line 170 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 195 of file class.ilExSubmissionFileGUI.php.
References initZipUploadForm().
Referenced by uploadZipObject().
ilExSubmissionFileGUI::uploadZipObject | ( | ) |
Upload zip file.
Definition at line 310 of file class.ilExSubmissionFileGUI.php.
References ilExSubmissionBaseGUI\$ctrl, $form, $ilCtrl, ilExSubmissionBaseGUI\handleNewUpload(), initZipUploadForm(), ilUtil\sendInfo(), 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 32 of file class.ilExSubmissionFileGUI.php.
|
protected |
Definition at line 27 of file class.ilExSubmissionFileGUI.php.
Referenced by submissionScreenObject().