ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
SubObjectModes.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\AdvancedMetaData\Services\SubObjectModes
;
22
23
use
ILIAS\DI\Container
;
24
use
ILIAS\AdvancedMetaData\Services\SubObjectIDInterface
;
25
use
ILIAS\Data\Factory
as
DataFactory
;
26
use
ILIAS\AdvancedMetaData\Services\SubObjectModes\DataTable
;
27
use
ILIAS\AdvancedMetaData\Services\SubObjectModes\Filter
;
28
29
class
SubObjectModes
implements
SubObjectModesInterface
30
{
31
protected
Container
$dic
;
32
33
protected
string
$type
;
34
protected
int
$ref_id
;
35
39
protected
array
$sub_types
;
40
41
public
function
__construct
(
42
Container
$dic,
43
string
$type,
44
int
$ref_id,
45
string
...$sub_types
46
) {
47
$this->dic =
$dic
;
48
$this->type =
$type
;
49
$this->ref_id =
$ref_id
;
50
$this->sub_types =
$sub_types
;
51
}
52
public
function
inDataTable
():
DataTable
\SupplierInterface
53
{
54
return
new
DataTable\Supplier(
55
$this->dic->user(),
56
$this->dic->ui()->factory(),
57
new
DataFactory
(),
58
$this->dic[
'static_url'
],
59
$this->type
,
60
$this->ref_id
,
61
...$this->sub_types
62
);
63
}
64
65
public
function
inFilter
():
Filter
\SupplierInterface
66
{
67
return
new
Filter\Supplier(
68
$this->dic->user(),
69
$this->dic->language(),
70
$this->dic->ui()->factory(),
71
new
DataFactory
(),
72
$this->dic[
'static_url'
],
73
$this->type
,
74
$this->ref_id
,
75
...$this->sub_types
76
);
77
}
78
}
ILIAS\Cache\Services::SubObjectModes\SubObjectModes\$type
string $type
Definition:
SubObjectModes.php:33
ILIAS\Cache\Services::SubObjectModes\SubObjectModes\$sub_types
array $sub_types
Definition:
SubObjectModes.php:39
ILIAS\AdvancedMetaData\Services\SubObjectModes\Filter
Definition:
Supplier.php:21
Data
ILIAS\Cache\Services::SubObjectModes\SubObjectModes
Definition:
SubObjectModes.php:29
Standard
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Cache\Services::SubObjectModes\SubObjectModes\$dic
Container $dic
Definition:
SubObjectModes.php:31
ILIAS\Cache\Container\Container
Definition:
Container.php:28
Container
ILIAS\AdvancedMetaData\Services\SubObjectModes\DataTable
Definition:
Data.php:21
ILIAS\Cache\Services::SubObjectModes\SubObjectModesInterface
Definition:
SubObjectModesInterface.php:26
ILIAS\Cache\Services::SubObjectModes\SubObjectModes\inFilter
inFilter()
Definition:
SubObjectModes.php:65
Factory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Cache\Services::SubObjectModes\SubObjectModes\inDataTable
inDataTable()
Definition:
SubObjectModes.php:52
ILIAS\Cache\Services::SubObjectModes\SubObjectModes\$ref_id
int $ref_id
Definition:
SubObjectModes.php:34
ILIAS\Cache\Services::SubObjectModes\SubObjectModes\__construct
__construct(Container $dic, string $type, int $ref_id, string ... $sub_types)
Definition:
SubObjectModes.php:41
SubObjectIDInterface
ILIAS\AdvancedMetaData\Services\SubObjectModes
components
ILIAS
AdvancedMetaData
classes
Services
SubObjectModes
SubObjectModes.php
Generated on Wed Sep 3 2025 23:02:10 for ILIAS by
1.8.13 (using
Doxyfile
)