ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ExportFileManager.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\components\Export\HTML
;
22
23
use
ILIAS\Export\HTML\ExportFileDBRepository
;
24
use
ILIAS\Export\HTML\DataService
;
25
use
ILIAS\Export\HTML\ExportFile
;
26
27
class
ExportFileManager
28
{
29
public
function
__construct
(
30
protected
DataService
$data
,
31
protected
ExportFileDBRepository
$repo
32
) {
33
}
34
35
public
function
getLatestOfObjectIdAndType
(
int
$object_id,
string
$type =
""
): ?
ExportFile
36
{
37
return
$this->repo->getLatestOfObjectIdAndType($object_id, $type);
38
}
39
40
public
function
deliver
(
ExportFile
$file): void
41
{
42
$this->repo->deliverFile($file->
getRid
());
43
}
44
}
$data
$data
Definition:
ltiregistration.php:29
DataService
ExportFileDBRepository
ILIAS\Data\Text\HTML\ExportFile\getRid
getRid()
Definition:
ExportFile.php:38
ILIAS\Data\Text\HTML\ExportFile
Definition:
ExportFile.php:23
ILIAS\components\Export\HTML
Definition:
class.Util.php:21
ILIAS\Data\Text\HTML\ExportFileDBRepository
Definition:
ExportFileDBRepository.php:28
ILIAS\Data\Text\HTML\DataService
Definition:
DataService.php:25
ILIAS\components\Export\HTML\ExportFileManager
Definition:
ExportFileManager.php:27
ILIAS\components\Export\HTML\ExportFileManager\getLatestOfObjectIdAndType
getLatestOfObjectIdAndType(int $object_id, string $type="")
Definition:
ExportFileManager.php:35
ILIAS\components\Export\HTML\ExportFileManager\__construct
__construct(protected DataService $data, protected ExportFileDBRepository $repo)
Definition:
ExportFileManager.php:29
ILIAS\components\Export\HTML\ExportFileManager\deliver
deliver(ExportFile $file)
Definition:
ExportFileManager.php:40
ExportFile
components
ILIAS
Export
HTML
ExportFileManager.php
Generated on Sun Aug 31 2025 23:02:56 for ILIAS by
1.8.13 (using
Doxyfile
)