ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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
30
public
function
__construct
(
31
protected
DataService
$data
,
32
protected
ExportFileDBRepository
$repo
33
)
34
{
35
}
36
37
public
function
getLatestOfObjectIdAndType
(
int
$object_id,
string
$type =
""
): ?
ExportFile
38
{
39
return
$this->repo->getLatestOfObjectIdAndType($object_id, $type);
40
}
41
42
public
function
deliver
(
ExportFile
$file) : void
43
{
44
$this->repo->deliverFile($file->
getRid
());
45
}
46
}
$data
$data
Definition:
ltiregistration.php:29
DataService
ExportFileDBRepository
ILIAS\Export\HTML\ExportFile
Definition:
ExportFile.php:23
ILIAS\components\Export\HTML
Definition:
class.Util.php:21
ILIAS\Export\HTML\ExportFileDBRepository
Definition:
ExportFileDBRepository.php:28
ILIAS\Export\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:37
ILIAS\components\Export\HTML\ExportFileManager\__construct
__construct(protected DataService $data, protected ExportFileDBRepository $repo)
Definition:
ExportFileManager.php:30
ILIAS\components\Export\HTML\ExportFileManager\deliver
deliver(ExportFile $file)
Definition:
ExportFileManager.php:42
ExportFile
ILIAS\Export\HTML\ExportFile\getRid
getRid()
Definition:
ExportFile.php:38
components
ILIAS
Export
HTML
ExportFileManager.php
Generated on Wed Sep 10 2025 15:15:35 for ILIAS by
1.8.13 (using
Doxyfile
)