ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Public Member Functions | |
__construct (protected array $resources, private StreamAccess $stream_access, protected FileNamePolicy $file_name_policy, protected string $zip_file_name) | |
run () | |
This runs the actual DeliveryConsumer. More... | |
useRevisionTitlesForFileNames (bool $use_revision_titles) | |
setRevisionNumber (int $revision_number) | |
overrideFileName (string $file_name) | |
Protected Attributes | |
ResourceCollection | $collection |
int | $revision_number = null |
bool | $use_revision_titles = false |
Definition at line 35 of file DownloadMultipleConsumer.php.
ILIAS\LegalDocuments\Consumer\DownloadMultipleConsumer::__construct | ( | protected array | $resources, |
private StreamAccess | $stream_access, | ||
protected FileNamePolicy | $file_name_policy, | ||
protected string | $zip_file_name | ||
) |
StorableResource[] | $resources |
Definition at line 44 of file DownloadMultipleConsumer.php.
ILIAS\LegalDocuments\Consumer\DownloadMultipleConsumer::overrideFileName | ( | string | $file_name | ) |
Implements ILIAS\LegalDocuments\Consumer\DeliveryConsumer.
Definition at line 105 of file DownloadMultipleConsumer.php.
ILIAS\LegalDocuments\Consumer\DownloadMultipleConsumer::run | ( | ) |
This runs the actual DeliveryConsumer.
E.g. a DownloadConsumer will pass the Stream of a Ressource to the HTTP-Service and download the file.
Implements ILIAS\LegalDocuments\Consumer\DeliveryConsumer.
Definition at line 49 of file DownloadMultipleConsumer.php.
References $DIC, $response, ILIAS\StaticURL\Response\Response\ResponseHeader\ACCEPT_RANGES, ILIAS\FileUpload\MimeType\APPLICATION__ZIP, CLIENT_DATA_DIR, ILIAS\StaticURL\Response\Response\ResponseHeader\CONNECTION, ILIAS\StaticURL\Response\Response\ResponseHeader\CONTENT_DISPOSITION, ILIAS\StaticURL\Response\Response\ResponseHeader\CONTENT_TYPE, ILIAS\Filesystem\Stream\Streams\ofResource(), and ILIAS\Repository\resources().
ILIAS\LegalDocuments\Consumer\DownloadMultipleConsumer::setRevisionNumber | ( | int | $revision_number | ) |
int | $revision_number | of a specific revision. otherwise the latest will be chosen during run() |
Implements ILIAS\LegalDocuments\Consumer\DeliveryConsumer.
Definition at line 99 of file DownloadMultipleConsumer.php.
References ILIAS\LegalDocuments\Consumer\DownloadMultipleConsumer\$revision_number.
ILIAS\LegalDocuments\Consumer\DownloadMultipleConsumer::useRevisionTitlesForFileNames | ( | bool | $use_revision_titles | ) |
Definition at line 93 of file DownloadMultipleConsumer.php.
References ILIAS\LegalDocuments\Consumer\DownloadMultipleConsumer\$use_revision_titles.
|
protected |
Definition at line 37 of file DownloadMultipleConsumer.php.
|
protected |
Definition at line 38 of file DownloadMultipleConsumer.php.
Referenced by ILIAS\LegalDocuments\Consumer\DownloadMultipleConsumer\setRevisionNumber().
|
protected |
Definition at line 39 of file DownloadMultipleConsumer.php.
Referenced by ILIAS\LegalDocuments\Consumer\DownloadMultipleConsumer\useRevisionTitlesForFileNames().