ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (private ConsumerFactory $consumer_factory, private ResourceBuilder $resource_builder, private CollectionBuilder $collection_builder, private SrcBuilder $src_builder=new InlineSrcBuilder()) | |
Consumers constructor. More... | |
download (ResourceIdentification $identification) | |
inline (ResourceIdentification $identification) | |
stream (ResourceIdentification $identification) | |
src (ResourceIdentification $identification) | |
downloadCollection (ResourceCollectionIdentification $identification, ?string $zip_filename=null) | |
downloadResources (array $identifications, ?string $zip_filename=null) | |
flavourUrls (Flavour $flavour) | |
containerZIP (ResourceIdentification $identification) | |
This consumer can be used to obtain a StorageContainerResource as a ZIP. More... | |
containerURI (ResourceIdentification $identification, string $start_file='index.html', float $valid_for_at_least_minutes=60.0) | |
Definition at line 36 of file Consumers.php.
ILIAS\LegalDocuments\Consumer\Consumers::__construct | ( | private ConsumerFactory | $consumer_factory, |
private ResourceBuilder | $resource_builder, | ||
private CollectionBuilder | $collection_builder, | ||
private SrcBuilder | $src_builder = new InlineSrcBuilder() |
||
) |
ILIAS\LegalDocuments\Consumer\Consumers::containerURI | ( | ResourceIdentification | $identification, |
string | $start_file = 'index.html' , |
||
float | $valid_for_at_least_minutes = 60.0 |
||
) |
Definition at line 113 of file Consumers.php.
References ILIAS\ResourceStorage\Resource\CONTAINER.
ILIAS\LegalDocuments\Consumer\Consumers::containerZIP | ( | ResourceIdentification | $identification | ) |
This consumer can be used to obtain a StorageContainerResource as a ZIP.
Definition at line 101 of file Consumers.php.
References ILIAS\ResourceStorage\Resource\CONTAINER.
ILIAS\LegalDocuments\Consumer\Consumers::download | ( | ResourceIdentification | $identification | ) |
Definition at line 45 of file Consumers.php.
ILIAS\LegalDocuments\Consumer\Consumers::downloadCollection | ( | ResourceCollectionIdentification | $identification, |
?string | $zip_filename = null |
||
) |
Definition at line 65 of file Consumers.php.
References ILIAS\LegalDocuments\Consumer\Consumers\downloadResources().
ILIAS\LegalDocuments\Consumer\Consumers::downloadResources | ( | array | $identifications, |
?string | $zip_filename = null |
||
) |
Definition at line 75 of file Consumers.php.
References $resources.
Referenced by ILIAS\LegalDocuments\Consumer\Consumers\downloadCollection().
ILIAS\LegalDocuments\Consumer\Consumers::flavourUrls | ( | Flavour | $flavour | ) |
Definition at line 93 of file Consumers.php.
ILIAS\LegalDocuments\Consumer\Consumers::inline | ( | ResourceIdentification | $identification | ) |
Definition at line 50 of file Consumers.php.
ILIAS\LegalDocuments\Consumer\Consumers::src | ( | ResourceIdentification | $identification | ) |
Definition at line 60 of file Consumers.php.
ILIAS\LegalDocuments\Consumer\Consumers::stream | ( | ResourceIdentification | $identification | ) |
Definition at line 55 of file Consumers.php.