ILIAS
trunk Revision v11.0_alpha-1702-gfd3ecb7f852
◀ 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
Definition.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Structure\Definitions
;
22
23
use
ILIAS\MetaData\Elements\Data\Type
;
24
25
class
Definition
implements
DefinitionInterface
26
{
27
protected
string
$name
;
28
protected
bool
$unique
;
29
protected
Type
$data_type
;
30
31
public
function
__construct
(
32
string
$name,
33
bool
$unique,
34
Type
$data_type
35
) {
36
$this->
name
=
$name
;
37
$this->
unique
=
$unique
;
38
$this->data_type =
$data_type
;
39
}
40
41
public
function
name
(): string
42
{
43
return
$this->name
;
44
}
45
46
public
function
unique
(): bool
47
{
48
return
$this->unique
;
49
}
50
51
public
function
dataType
():
Type
52
{
53
return
$this->data_type
;
54
}
55
}
ILIAS\MetaData\Structure\Definitions\Definition\$name
string $name
Definition:
Definition.php:27
ILIAS\MetaData\Structure\Definitions\DefinitionInterface
Definition:
DefinitionInterface.php:25
ILIAS\MetaData\Structure\Definitions\Definition\name
name()
Name of the metadata element.
Definition:
Definition.php:41
ILIAS\MetaData\Structure\Definitions\Definition\$data_type
Type $data_type
Definition:
Definition.php:29
ILIAS\MetaData\Structure\Definitions\Definition\$unique
bool $unique
Definition:
Definition.php:28
ILIAS\MetaData\Structure\Definitions\Definition\__construct
__construct(string $name, bool $unique, Type $data_type)
Definition:
Definition.php:31
ILIAS\AdvancedMetaData\Data\FieldDefinition\Type
Type
Definition:
Type.php:23
ILIAS\MetaData\Structure\Definitions\Definition
Definition:
Definition.php:25
ILIAS\MetaData\Structure\Definitions\Definition\dataType
dataType()
Type of data this element can carry.
Definition:
Definition.php:51
ILIAS\MetaData\Elements\Data\Type
Type
Definition:
Type.php:23
ILIAS\MetaData\Structure\Definitions\Definition\unique
unique()
Unique elements can only occur once at their position in the metadata set.
Definition:
Definition.php:46
ILIAS\MetaData\Structure\Definitions
Definition:
Definition.php:21
components
ILIAS
MetaData
classes
Structure
Definitions
Definition.php
Generated on Thu Apr 3 2025 23:02:44 for ILIAS by
1.8.13 (using
Doxyfile
)