ILIAS
trunk Revision v11.0_alpha-1689-g66c127b4ae8
◀ 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
OptionTranslationImplementation.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\AdvancedMetaData\Data\FieldDefinition\TypeSpecificData\Select
;
22
23
use
ILIAS\AdvancedMetaData\Data\PersistenceTrackingDataImplementation
;
24
25
class
OptionTranslationImplementation
extends
PersistenceTrackingDataImplementation
implements
OptionTranslation
26
{
27
public
function
__construct
(
28
protected
string
$language,
29
protected
string
$value,
30
protected
bool
$is_persisted =
false
31
) {
32
}
33
34
public
function
isPersisted
(): bool
35
{
36
return
$this->is_persisted;
37
}
38
39
protected
function
getSubData
(): \
Generator
40
{
41
yield
from
[];
42
}
43
44
public
function
language
(): string
45
{
46
return
$this->language;
47
}
48
49
public
function
getValue
(): string
50
{
51
return
$this->value;
52
}
53
54
public
function
setValue
(
string
$value): void
55
{
56
if
($this->value === $value) {
57
return
;
58
}
59
$this->value = $value;
60
$this->
markAsChanged
();
61
}
62
}
ILIAS\MetaData\Elements\Data\Data::FieldDefinition::TypeSpecificData::Select\OptionTranslationImplementation\isPersisted
isPersisted()
Is this data is already persisted?
Definition:
OptionTranslationImplementation.php:34
ILIAS\MetaData\Elements\Data\Data::FieldDefinition::TypeSpecificData::Select\OptionTranslationImplementation\language
language()
Definition:
OptionTranslationImplementation.php:44
ILIAS\MetaData\Elements\Data\Data::FieldDefinition::TypeSpecificData::Select\OptionTranslation
Definition:
OptionTranslation.php:25
ILIAS\MetaData\Elements\Data\Data::FieldDefinition::TypeSpecificData::Select\OptionTranslationImplementation\setValue
setValue(string $value)
Definition:
OptionTranslationImplementation.php:54
ILIAS\AdvancedMetaData\Data\FieldDefinition\TypeSpecificData\Select
Definition:
NullOption.php:21
ILIAS\MetaData\Elements\Data\Data::FieldDefinition::TypeSpecificData::Select\OptionTranslationImplementation\__construct
__construct(protected string $language, protected string $value, protected bool $is_persisted=false)
Definition:
OptionTranslationImplementation.php:27
ILIAS\MetaData\Elements\Data\Data::FieldDefinition::TypeSpecificData::Select\OptionTranslationImplementation
Definition:
OptionTranslationImplementation.php:25
ILIAS\MetaData\Elements\Data\Data::FieldDefinition::TypeSpecificData::Select\OptionTranslationImplementation\getSubData
getSubData()
Definition:
OptionTranslationImplementation.php:39
Generator
ILIAS\MetaData\Elements\Data\Data::FieldDefinition::TypeSpecificData::Select\OptionTranslationImplementation\getValue
getValue()
Definition:
OptionTranslationImplementation.php:49
ILIAS\MetaData\Elements\Data\Data\PersistenceTrackingDataImplementation\markAsChanged
markAsChanged()
Definition:
PersistenceTrackingDataImplementation.php:55
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from
from(FileStream $stream)
Definition:
GdImageToStreamTrait.php:48
PersistenceTrackingDataImplementation
ILIAS\MetaData\Elements\Data\Data\PersistenceTrackingDataImplementation
Definition:
PersistenceTrackingDataImplementation.php:23
components
ILIAS
AdvancedMetaData
classes
Data
FieldDefinition
TypeSpecificData
Select
OptionTranslationImplementation.php
Generated on Wed Apr 2 2025 23:01:48 for ILIAS by
1.8.13 (using
Doxyfile
)