ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
HeaderBasedDeliveryHelper.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
ILIAS\FileDelivery\FileDeliveryTypes
;
4
21
trait
HeaderBasedDeliveryHelper
22
{
23
29
protected
function
sendFileUnbufferedUsingHeaders(\
Closure
$closure)
30
{
31
ignore_user_abort(
true
);
32
set_time_limit(0);
33
ob_start();
34
35
$closure();
36
37
ob_flush();
38
ob_end_flush();
39
flush();
40
}
41
}
Closure
ILIAS\FileDelivery\FileDeliveryTypes
Class XAccelTest.
Definition:
DeliveryMethod.php:3
php
HeaderBasedDeliveryHelper
Services
FileDelivery
classes
FileDeliveryTypes
HeaderBasedDeliveryHelper.php
Generated on Thu Jan 30 2025 19:01:57 for ILIAS by
1.8.13 (using
Doxyfile
)