ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
int.ilFileDeliveryService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\FileDelivery;
22
29{
30 public static function deliverFileAttached(
31 string $path_to_file,
32 ?string $download_file_name = null,
33 ?string $mime_type = null,
34 bool $delete_file = false
35 ): void;
36
37 public static function streamVideoInline(
38 string $path_to_file,
39 ?string $download_file_name = null
40 ): void;
41
42 public static function deliverFileInline(
43 string $path_to_file,
44 ?string $download_file_name = null
45 ): void;
46
50 public static function returnASCIIFileName(string $original_filename): string;
51}
static deliverFileInline(string $path_to_file, ?string $download_file_name=null)
static returnASCIIFileName(string $original_filename)
Converts a UTF-8 filename to ASCII.
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)