ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
int.ilFileDeliveryService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace 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)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static streamVideoInline(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)