ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ForumFileStorageDelivery.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
29{
30 public function __construct(private readonly ilFileDataForumInterface $storage)
31 {
32 }
33
34 public function forumObjId(): int
35 {
36 return $this->storage->getObjId();
37 }
38
39 public function containerId(): int
40 {
41 return $this->storage->getPosId();
42 }
43
44 public function deliverFile(string $revision_token): void
45 {
46 $this->storage->deliverFile($revision_token);
47 }
48
49 public function deliverZipFile(): bool
50 {
51 return $this->storage->deliverZipFile();
52 }
53}
Adapts the forum file storage to the narrow delivery port.
__construct(private readonly ilFileDataForumInterface $storage)
A delivery that exposes the identifiers it will resolve its resources from, so an access guard can ju...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...