ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
◀ 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
Set.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Elements
;
22
23
use
ILIAS\MetaData\Elements\Base\BaseSet
;
24
use
ILIAS\MetaData\Elements\RessourceID\RessourceIDInterface
;
25
26
class
Set
extends
BaseSet
implements
SetInterface
27
{
28
private
RessourceIDInterface
$ressource_id
;
29
30
public
function
__construct
(
31
RessourceIDInterface
$ressource_id,
32
ElementInterface
$root
33
) {
34
parent::__construct
($root);
35
$this->ressource_id =
$ressource_id
;
36
}
37
38
public
function
getRessourceID
():
RessourceIDInterface
39
{
40
return
$this->ressource_id
;
41
}
42
43
public
function
getRoot
():
ElementInterface
44
{
45
$root
= parent::getRoot();
46
if
(
$root
instanceof
ElementInterface
) {
47
return
$root
;
48
}
49
throw
new \ilMDElementsException(
50
'Metadata set has invalid root element.'
51
);
52
}
53
}
ILIAS\MetaData\Elements\Set\$ressource_id
RessourceIDInterface $ressource_id
Definition:
Set.php:28
RessourceIDInterface
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:28
ILIAS\MetaData\Elements\Set
Definition:
Set.php:26
ILIAS\MetaData\Elements\Set\getRessourceID
getRessourceID()
Contains the information needed to identify the ILIAS object this metadata set belongs to...
Definition:
Set.php:38
ILIAS\MetaData\Elements\RessourceID\RessourceIDInterface
Definition:
RessourceIDInterface.php:23
BaseSet
ILIAS\MetaData\Elements\SetInterface
Definition:
SetInterface.php:26
ILIAS\MetaData\Elements\Set\getRoot
getRoot()
Returns the root element of the metadata set.
Definition:
Set.php:43
ILIAS\MetaData\Elements
ILIAS\MetaData\Elements\Set\__construct
__construct(RessourceIDInterface $ressource_id, ElementInterface $root)
Definition:
Set.php:30
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ILIAS\MetaData\Elements\Base\BaseSet
Definition:
BaseSet.php:23
ILIAS\MetaData\Elements\Base\BaseSet\$root
BaseElementInterface $root
Definition:
BaseSet.php:25
components
ILIAS
MetaData
classes
Elements
Set.php
Generated on Sun Apr 6 2025 23:02:24 for ILIAS by
1.8.13 (using
Doxyfile
)