ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilFileDelivery. More...
Public Member Functions | |
__construct ($filePath) | |
ilFileDelivery constructor. More... | |
__call ($name, array $arguments) | |
Workaround because legacy components try to call methods which are moved to the Deliver class. More... | |
Static Public Member Functions | |||||||||||||
static | deliverFileAttached ($path_to_file, $download_file_name='', $mime_type='', $delete_file=false) | ||||||||||||
| |||||||||||||
static | streamVideoInline ($path_to_file, $download_file_name='') | ||||||||||||
| |||||||||||||
static | deliverFileInline ($path_to_file, $download_file_name='') | ||||||||||||
| |||||||||||||
static | returnASCIIFileName ($original_filename) | ||||||||||||
Converts a UTF-8 filename to ASCII.
| |||||||||||||
Data Fields | |
const | DIRECT_PHP_OUTPUT = Delivery::DIRECT_PHP_OUTPUT |
const | DELIVERY_METHOD_XSENDFILE = DeliveryMethod::XSENDFILE |
const | DELIVERY_METHOD_XACCEL = DeliveryMethod::XACCEL |
const | DELIVERY_METHOD_PHP = DeliveryMethod::PHP |
const | DELIVERY_METHOD_PHP_CHUNKED = DeliveryMethod::PHP_CHUNKED |
const | DISP_ATTACHMENT = Delivery::DISP_ATTACHMENT |
const | DISP_INLINE = Delivery::DISP_INLINE |
Static Private Member Functions | |
static | isNonEmptyString ($text) |
Checks if the string is not empty. More... | |
Private Attributes | |
$delivery | |
ilFileDelivery::__construct | ( | $filePath | ) |
ilFileDelivery constructor.
string | $filePath |
Definition at line 42 of file class.ilFileDelivery.php.
References ILIAS\FileDelivery\http().
ilFileDelivery::__call | ( | $name, | |
array | $arguments | ||
) |
Workaround because legacy components try to call methods which are moved to the Deliver class.
string | $name | The function name which was not found on the current object. |
array | $arguments | The function arguments passed to the function which was not existent on the current object. |
Definition at line 125 of file class.ilFileDelivery.php.
References $name.
|
static |
$path_to_file | ||
string | $download_file_name | |
string | $mime_type | |
bool | $delete_file |
Implements ILIAS\FileDelivery\ilFileDeliveryService.
Definition at line 52 of file class.ilFileDelivery.php.
References ILIAS\FileDelivery\http().
Referenced by ilSystemStyleSkinContainer\export(), ilExDownloadSubmissionsZipInteraction\interaction(), ilCalendarDownloadZipInteraction\interaction(), ilObjBibliographicGUI\sendFile(), and ilExcel\sendToClient().
|
static |
$path_to_file | ||
string | $download_file_name |
Implements ILIAS\FileDelivery\ilFileDeliveryService.
Definition at line 92 of file class.ilFileDelivery.php.
References ILIAS\FileDelivery\http().
|
staticprivate |
Checks if the string is not empty.
string | $text | The text which should be checked. |
Definition at line 140 of file class.ilFileDelivery.php.
References $text.
|
static |
Converts a UTF-8 filename to ASCII.
string | $original_filename | UFT8-Filename |
Implements ILIAS\FileDelivery\ilFileDeliveryService.
Definition at line 109 of file class.ilFileDelivery.php.
|
static |
$path_to_file | ||
string | $download_file_name |
Implements ILIAS\FileDelivery\ilFileDeliveryService.
Definition at line 76 of file class.ilFileDelivery.php.
References ILIAS\FileDelivery\http().
|
private |
Definition at line 34 of file class.ilFileDelivery.php.
const ilFileDelivery::DELIVERY_METHOD_PHP = DeliveryMethod::PHP |
Definition at line 27 of file class.ilFileDelivery.php.
const ilFileDelivery::DELIVERY_METHOD_PHP_CHUNKED = DeliveryMethod::PHP_CHUNKED |
Definition at line 28 of file class.ilFileDelivery.php.
const ilFileDelivery::DELIVERY_METHOD_XACCEL = DeliveryMethod::XACCEL |
Definition at line 26 of file class.ilFileDelivery.php.
const ilFileDelivery::DELIVERY_METHOD_XSENDFILE = DeliveryMethod::XSENDFILE |
Definition at line 25 of file class.ilFileDelivery.php.
const ilFileDelivery::DIRECT_PHP_OUTPUT = Delivery::DIRECT_PHP_OUTPUT |
Definition at line 24 of file class.ilFileDelivery.php.
Referenced by ilPHPOutputDelivery\start().
const ilFileDelivery::DISP_ATTACHMENT = Delivery::DISP_ATTACHMENT |
Definition at line 29 of file class.ilFileDelivery.php.
Referenced by ilFileDataMail\deliverAttachmentsAsZip(), ilUtil\deliverFile(), ilObjFile\determineFileSize(), ilCalendarFileHandler\downloadFilesForEvents(), and ilPHPOutputDelivery\start().
const ilFileDelivery::DISP_INLINE = Delivery::DISP_INLINE |
Definition at line 30 of file class.ilFileDelivery.php.
Referenced by ilUtil\deliverFile(), and ilObjFile\determineFileSize().