19 declare(strict_types=1);
38 private \ILIAS\HTTP\Services
$http;
52 $this->
http = $DIC->http();
61 $this->file_name_policy
71 $this->file_name_policy
91 $this->file_name_policy
106 ?
string $zip_filename = null
110 $this->stream_access,
111 $this->file_name_policy,
112 $zip_filename ??
'Download.zip' StreamAccess $stream_access
Interface StorageResource.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS ResourceStorage Policy FileNamePolicy $file_name_policy
downloadMultiple(array $resources, ?string $zip_filename=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface FileNamePolicy.
download(StorableResource $resource)
Class NoneFileNamePolicy.
src(StorableResource $resource, SrcBuilder $src_builder)
static http()
Fetches the global http state from ILIAS.
ILIAS HTTP Services $http
__construct(StreamAccess $stream_access, FileNamePolicy $file_name_policy=null)
ConsumerFactory constructor.
fileStream(StorableResource $resource)
absolutePath(StorableResource $resource)