|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilFileDelivery. More...
Inheritance diagram for ilFileDelivery:
Collaboration diagram for ilFileDelivery: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.
| |||||||||||||
| 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. More... | |||||||||||||
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().
Here is the call graph for this function:| 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(), ilDownloadZipInteraction\interaction(), ilCalendarDownloadZipInteraction\interaction(), ilObjBibliographicGUI\sendFile(), and ilExcel\sendToClient().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
|
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.
|
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().
Here is the call graph for this function:
|
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(), 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().