|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\FileDelivery\Delivery\LegacyDelivery:
Collaboration diagram for ILIAS\FileDelivery\Delivery\LegacyDelivery:Public Member Functions | |
| attached (string $path_to_file, ?string $download_file_name=null, ?string $mime_type=null, ?bool $delete_file=false) | |
| inline (string $path_to_file, ?string $download_file_name=null, ?string $mime_type=null, ?bool $delete_file=false) | |
Public Member Functions inherited from ILIAS\FileDelivery\Delivery\BaseDelivery | |
| __construct (protected GlobalHttpState $http, protected ResponseBuilder $response_builder, protected ResponseBuilder $fallback_response_builder, protected IsolationConfig $isolation=new IsolationConfig(false, null, null),) | |
Private Member Functions | |
| deliver (string $path_to_file, Disposition $disposition, ?string $download_file_name=null, ?string $mime_type=null, ?bool $delete_file=false) | |
Additional Inherited Members | |
Protected Member Functions inherited from ILIAS\FileDelivery\Delivery\BaseDelivery | |
| isRequestHostAllowed () | |
| When user content isolation is active, only requests targeting the configured content domain may be served. More... | |
| isRequestOnContentHost () | |
| Inverse of {. More... | |
| notFound (ResponseInterface $r) | |
| Send an empty 404 response and terminate. More... | |
| saveAndClose (ResponseInterface $r, ?string $path_to_delete=null) | |
| setGeneralHeaders (ResponseInterface $r, string $uri, string $mime_type, string $file_name, Disposition $disposition=Disposition::INLINE, bool $isolated=true) | |
| applyIsolationHeaders (ResponseInterface $r) | |
| When isolation is active, harden delivery responses: More... | |
Protected Attributes inherited from ILIAS\FileDelivery\Delivery\BaseDelivery | |
| const | MIME_TYPE_MAP = __DIR__ . '/../../../FileUpload/src/mime_type_map.php' |
| array | $mime_type_map |
Definition at line 28 of file LegacyDelivery.php.
| ILIAS\FileDelivery\Delivery\LegacyDelivery::attached | ( | string | $path_to_file, |
| ?string | $download_file_name = null, |
||
| ?string | $mime_type = null, |
||
| ?bool | $delete_file = false |
||
| ) |
Definition at line 30 of file LegacyDelivery.php.
|
private |
Definition at line 60 of file LegacyDelivery.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:| ILIAS\FileDelivery\Delivery\LegacyDelivery::inline | ( | string | $path_to_file, |
| ?string | $download_file_name = null, |
||
| ?string | $mime_type = null, |
||
| ?bool | $delete_file = false |
||
| ) |
Definition at line 45 of file LegacyDelivery.php.
References ILIAS\FileDelivery\Delivery\$delete_file, ILIAS\FileDelivery\Delivery\$download_file_name, ILIAS\FileDelivery\Delivery\$mime_type, and ILIAS\FileDelivery\Delivery\deliver().
Referenced by ILIAS\Tests\FileDelivery\Delivery\LegacyDeliveryIsolationTest\deliverInline().
Here is the call graph for this function:
Here is the caller graph for this function: