ILIAS  release_8 Revision v8.24
int.ilFileDeliveryService.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5namespace ILIAS\FileDelivery;
6
7/******************************************************************************
8 *
9 * This file is part of ILIAS, a powerful learning management system.
10 *
11 * ILIAS is licensed with the GPL-3.0, you should have received a copy
12 * of said license along with the source code.
13 *
14 * If this is not the case or you just want to try ILIAS, you'll find
15 * us at:
16 * https://www.ilias.de
17 * https://github.com/ILIAS-eLearning
18 *
19 *****************************************************************************/
26{
27 public static function deliverFileAttached(
28 string $path_to_file,
29 ?string $download_file_name = null,
30 ?string $mime_type = null,
31 bool $delete_file = false
32 ): void;
33
34 public static function streamVideoInline(
35 string $path_to_file,
36 ?string $download_file_name = null
37 ): void;
38
39 public static function deliverFileInline(
40 string $path_to_file,
41 ?string $download_file_name = null
42 ): void;
43
47 public static function returnASCIIFileName(string $original_filename): string;
48}
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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Delivery.php:21