ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
}
ILIAS\Export\HTML\DataService
Definition:
DataService.php:26
ILIAS\Export\HTML\ExportFileDBRepository
Definition:
ExportFileDBRepository.php:29
ILIAS\Export\HTML\ExportFile
Definition:
ExportFile.php:24
ILIAS\Export\HTML\ExportFile\getRid
getRid()
Definition:
ExportFile.php:38
ILIAS\components\Export\HTML\ExportFileManager
Definition:
ExportFileManager.php:28
ILIAS\components\Export\HTML\ExportFileManager\deliver
deliver(ExportFile $file)
Definition:
ExportFileManager.php:40
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
$data
$data
Definition:
ltiregistration.php:29
ILIAS\components\Export\HTML
Definition:
class.Util.php:21
components
ILIAS
Export
HTML
ExportFileManager.php
Generated on Sat Oct 18 2025 23:03:01 for ILIAS by
1.9.4 (using
Doxyfile
)