19declare(strict_types=1);
51 $this->
http = $DIC->http();
60 $this->file_name_policy
70 $this->file_name_policy
90 $this->file_name_policy
113 ?
string $zip_filename =
null
117 $this->stream_access,
118 $this->file_name_policy,
119 $zip_filename ??
'Download.zip'
135 string $start_file =
'index.html',
136 float $valid_for_at_least_minutes = 120.0
141 $this->stream_access,
143 $valid_for_at_least_minutes
containerZIP(StorableContainerResource $resource,)
__construct(private StreamAccess $stream_access, protected FileNamePolicy $file_name_policy=new NoneFileNamePolicy())
ConsumerFactory constructor.
containerURI(StorableContainerResource $resource, SrcBuilder $src_builder, string $start_file='index.html', float $valid_for_at_least_minutes=120.0)
download(StorableResource $resource)
fileStream(StorableResource $resource)
absolutePath(StorableResource $resource)
src(StorableResource $resource, SrcBuilder $src_builder)
downloadMultiple(array $resources, ?string $zip_filename=null)
flavourUrl(Flavour $flavour, SrcBuilder $src_builder)
Class NoneFileNamePolicy.
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface FileNamePolicy.
Interface StorageResource.
static http()
Fetches the global http state from ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...