ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
ObjectModes.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\AdvancedMetaData\Services\ObjectModes
;
22
23
use
ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\CustomInterface
;
24
use
ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom
;
25
use
ILIAS\DI\Container
;
26
27
class
ObjectModes
implements
ObjectModesInterface
28
{
29
protected
Container
$dic
;
30
31
protected
string
$type
;
32
protected
int
$ref_id
;
33
protected
string
$sub_type
;
34
protected
int
$sub_id
;
35
36
public
function
__construct
(
37
Container
$dic,
38
string
$type,
39
int
$ref_id,
40
string
$sub_type =
''
,
41
int
$sub_id = 0
42
) {
43
$this->dic =
$dic
;
44
$this->type =
$type
;
45
$this->ref_id =
$ref_id
;
46
$this->sub_type =
$sub_type
;
47
$this->sub_id =
$sub_id
;
48
}
49
50
public
function
custom
(): CustomInterface
51
{
52
return
new
Custom
(
53
$this->dic->user(),
54
$this->type
,
55
$this->ref_id
,
56
$this->sub_type
,
57
$this->sub_id
58
);
59
}
60
}
ILIAS\Cache\Services::ObjectModes\ObjectModes
Definition:
ObjectModes.php:27
ILIAS\Cache\Services::ObjectModes\ObjectModes\custom
custom()
Definition:
ObjectModes.php:50
ILIAS\AdvancedMetaData\Services\ObjectModes
CustomInterface
ILIAS\Cache\Services::ObjectModes\ObjectModes\$type
string $type
Definition:
ObjectModes.php:31
ILIAS\Cache\Container\Container
Definition:
Container.php:28
ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom
Container
ILIAS\Cache\Services::ObjectModes\ObjectModes\$sub_id
int $sub_id
Definition:
ObjectModes.php:34
ILIAS\Cache\Services::ObjectModes\ObjectModes\$sub_type
string $sub_type
Definition:
ObjectModes.php:33
ILIAS\Cache\Services::ObjectModes\ObjectModes\$ref_id
int $ref_id
Definition:
ObjectModes.php:32
Transformation
ILIAS\Cache\Services::ObjectModes\ObjectModesInterface
Definition:
ObjectModesInterface.php:25
ILIAS\Cache\Services::ObjectModes\ObjectModes\__construct
__construct(Container $dic, string $type, int $ref_id, string $sub_type='', int $sub_id=0)
Definition:
ObjectModes.php:36
ILIAS\Cache\Services::ObjectModes\ObjectModes\$dic
Container $dic
Definition:
ObjectModes.php:29
components
ILIAS
AdvancedMetaData
classes
Services
ObjectModes
ObjectModes.php
Generated on Thu Apr 10 2025 23:02:25 for ILIAS by
1.8.13 (using
Doxyfile
)