|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class ilFileDelivery. More...
Inheritance diagram for ilFileDelivery:
Collaboration diagram for ilFileDelivery:Public Member Functions | |
| __construct (string $file_path) | |
| ilFileDelivery constructor. More... | |
| __call (string $name, array $arguments) | |
| Workaround because legacy components try to call methods which are moved to the Deliver class. More... | |
Static Public Member Functions | |
| static | deliverFileAttached (string $path_to_file, ?string $download_file_name=null, ?string $mime_type=null, bool $delete_file=false) |
| static | streamVideoInline (string $path_to_file, ?string $download_file_name=null) |
| static | deliverFileInline (string $path_to_file, ?string $download_file_name=null) |
| static | returnASCIIFileName (string $original_filename) |
| Converts a UTF-8 filename to ASCII. More... | |
| static | deliverFileLegacy (string $a_file, ?string $a_filename=null, ?string $a_mime=null, ?bool $isInline=false, ?bool $removeAfterDelivery=false, ?bool $a_exit_after=true) |
Data Fields | |
| const | DIRECT_PHP_OUTPUT = Delivery::DIRECT_PHP_OUTPUT |
| const | DELIVERY_METHOD_XSENDFILE = DeliveryMethod::XSENDFILE |
| const | DELIVERY_METHOD_XACCEL = DeliveryMethod::XACCEL |
| const | DELIVERY_METHOD_PHP = DeliveryMethod::PHP |
| const | DELIVERY_METHOD_PHP_CHUNKED = DeliveryMethod::PHP_CHUNKED |
| const | DISP_ATTACHMENT = Delivery::DISP_ATTACHMENT |
| const | DISP_INLINE = Delivery::DISP_INLINE |
Private Attributes | |
| Delivery | $delivery |
| ilFileDelivery::__construct | ( | string | $file_path | ) |
ilFileDelivery constructor.
| string | $file_path |
Definition at line 53 of file class.ilFileDelivery.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:| ilFileDelivery::__call | ( | string | $name, |
| array | $arguments | ||
| ) |
Workaround because legacy components try to call methods which are moved to the Deliver class.
| string | $name | The function name which was not found on the current object. |
| array | $arguments | The function arguments passed to the function which was not existent on the current object. |
Definition at line 114 of file class.ilFileDelivery.php.
|
static |
Implements ILIAS\FileDelivery\ilFileDeliveryService.
Definition at line 58 of file class.ilFileDelivery.php.
References ILIAS\FileDelivery\http().
Referenced by ilFileDataMail\deliverAttachmentsAsZip(), ilPortfolioCertificateFileService\deliverCertificate(), ilSkinStyleContainer\export(), ILIAS\MediaCast\BackgroundTasks\DownloadAllZipInteraction\interaction(), ilCalendarDownloadZipInteraction\interaction(), ilExDownloadSubmissionsZipInteraction\interaction(), ilDownloadZipInteraction\interaction(), ilObjBibliographicGUI\sendFile(), and ilExcel\sendToClient().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Implements ILIAS\FileDelivery\ilFileDeliveryService.
Definition at line 89 of file class.ilFileDelivery.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
static |
Definition at line 122 of file class.ilFileDelivery.php.
References $DIC, ILIAS\LTI\ToolProvider\$settings, ILIAS\FileDelivery\Delivery\deliver(), ILIAS\FileDelivery\Delivery\setConvertFileNameToAsci(), ILIAS\FileDelivery\Delivery\setDeleteFile(), ILIAS\FileDelivery\Delivery\setDisposition(), ILIAS\FileDelivery\Delivery\setDownloadFileName(), ILIAS\FileDelivery\Delivery\setExitAfter(), and ILIAS\FileDelivery\Delivery\setMimeType().
Referenced by ILIAS\Exercise\SampleSolution\SampleSolutionManager\deliver(), ilObjExerciseVerificationGUI\deliver(), ilObjCmiXapiVerificationGUI\deliver(), ilObjLTIConsumerVerificationGUI\deliver(), ilObjSCORMVerificationGUI\deliver(), ilObjTestVerificationGUI\deliver(), ilObjCourseVerificationGUI\deliver(), ILIAS\Exercise\InstructionFile\InstructionFileManager\deliver(), ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackFileManager\deliver(), ilMailFolderGUI\deliverAttachments(), ilWikiUserHTMLExport\deliverFile(), ilFileDataForumDraftsLegacyImplementation\deliverFile(), ilFileDataForumLegacyImplementation\deliverFile(), ilMailFolderGUI\deliverFile(), ilBookingObjectGUI\deliverInfo(), ilNewsItem\deliverMobFile(), ILIAS\BookingManager\BookingProcess\ProcessUtilGUI\deliverPostFile(), ilFileDataForumDraftsLegacyImplementation\deliverZipFile(), ilFileDataForumLegacyImplementation\deliverZipFile(), ilTestExportGUI\download(), ilExportGUI\download(), ilBlogExerciseGUI\downloadExcAssFile(), ilPortfolioExerciseGUI\downloadExcAssFile(), ilBlogExerciseGUI\downloadExcSubFile(), ilPortfolioExerciseGUI\downloadExcSubFile(), ilWikiPageGUI\downloadExcSubFile(), ilGlossaryPresentationGUI\downloadExportFile(), ilLMPresentationGUI\downloadExportFile(), ilObjSurveyQuestionPoolGUI\downloadExportFileObject(), ilObjUserFolderGUI\downloadExportFileObject(), ilAdvancedMDSettingsGUI\downloadFile(), ilFileSystemGUI\downloadFile(), ilExSubmission\downloadMultipleFiles(), ilExPeerReviewGUI\downloadPeerReviewObject(), ilExSubmission\downloadSingleFile(), ilSAHSEditGUI\executeCommand(), ilObjPortfolioBaseGUI\export(), ilObjBlogGUI\export(), ILIAS\Notes\Export\NotesHtmlExport\exportHTML(), ilPageLayoutAdministrationGUI\exportLayout(), ilObjQuestionPoolGUI\exportQuestions(), ilObjStyleSheetGUI\exportStyleObject(), ilOrgUnitExporter\sendAndCreateSimpleExportFile(), ilDclRecordListGUI\sendFile(), ilObjCourseGUI\sendFileObject(), ilObjUser\sendPersonalDataFile(), ilObjUserFolderGUI\usrExportCsvObject(), ilObjUserFolderGUI\usrExportX86Object(), ilObjUserFolderGUI\usrExportXmlObject(), and ilUserCertificateZip\zipCertificatesInArchiveDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Converts a UTF-8 filename to ASCII.
Implements ILIAS\FileDelivery\ilFileDeliveryService.
Definition at line 101 of file class.ilFileDelivery.php.
|
static |
Implements ILIAS\FileDelivery\ilFileDeliveryService.
Definition at line 77 of file class.ilFileDelivery.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
private |
Definition at line 46 of file class.ilFileDelivery.php.
| const ilFileDelivery::DELIVERY_METHOD_PHP = DeliveryMethod::PHP |
Definition at line 42 of file class.ilFileDelivery.php.
| const ilFileDelivery::DELIVERY_METHOD_PHP_CHUNKED = DeliveryMethod::PHP_CHUNKED |
Definition at line 43 of file class.ilFileDelivery.php.
| const ilFileDelivery::DELIVERY_METHOD_XACCEL = DeliveryMethod::XACCEL |
Definition at line 41 of file class.ilFileDelivery.php.
| const ilFileDelivery::DELIVERY_METHOD_XSENDFILE = DeliveryMethod::XSENDFILE |
Definition at line 40 of file class.ilFileDelivery.php.
| const ilFileDelivery::DIRECT_PHP_OUTPUT = Delivery::DIRECT_PHP_OUTPUT |
Definition at line 39 of file class.ilFileDelivery.php.
Referenced by ilPHPOutputDelivery\start().
| const ilFileDelivery::DISP_ATTACHMENT = Delivery::DISP_ATTACHMENT |
Definition at line 44 of file class.ilFileDelivery.php.
Referenced by ilPHPOutputDelivery\start().
| const ilFileDelivery::DISP_INLINE = Delivery::DISP_INLINE |
Definition at line 45 of file class.ilFileDelivery.php.