Definition at line 13 of file Consumers.php.
◆ __construct()
Consumers constructor.
- Parameters
-
Definition at line 30 of file Consumers.php.
33 {
34 $this->consumer_factory = $cf;
35 $this->resource_builder = $r;
36 }
◆ download()
Definition at line 38 of file Consumers.php.
38 : DownloadConsumer
39 {
40 return $this->consumer_factory->download($this->resource_builder->get($identification));
41 }
◆ inline()
Definition at line 43 of file Consumers.php.
43 : InlineConsumer
44 {
45 return $this->consumer_factory->inline($this->resource_builder->get($identification));
46 }
◆ src()
Definition at line 53 of file Consumers.php.
53 : SrcConsumer
54 {
55 return $this->consumer_factory->src($this->resource_builder->get($identification));
56 }
◆ stream()
Definition at line 48 of file Consumers.php.
48 : FileStreamConsumer
49 {
50 return $this->consumer_factory->fileStream($this->resource_builder->get($identification));
51 }
◆ $consumer_factory
ILIAS\ResourceStorage\Consumer\Consumers::$consumer_factory |
|
private |
◆ $resource_builder
ILIAS\ResourceStorage\Consumer\Consumers::$resource_builder |
|
private |
The documentation for this class was generated from the following file: