ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
Field.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\AdvancedMetaData\Services\ObjectModes\Custom
;
22
23
class
Field
implements
FieldInterface
24
{
25
protected
string
$title
;
26
protected
string
$string_value
;
27
protected
string
$html_value
;
28
29
public
function
__construct
(
30
string
$title,
31
string
$string_value,
32
string
$html_value
33
) {
34
$this->title =
$title
;
35
$this->string_value =
$string_value
;
36
$this->html_value =
$html_value
;
37
}
38
39
public
function
presentableTitle
(): string
40
{
41
return
$this->title
;
42
}
43
44
public
function
valueAsPresentableString
(): string
45
{
46
return
$this->string_value
;
47
}
48
49
public
function
valueAsHTML
(): string
50
{
51
return
$this->html_value
;
52
}
53
}
ILIAS\Cache\Services::ObjectModes::Custom\Field\__construct
__construct(string $title, string $string_value, string $html_value)
Definition:
Field.php:29
ILIAS\Cache\Services::ObjectModes::Custom\Field\valueAsPresentableString
valueAsPresentableString()
Definition:
Field.php:44
ILIAS\Cache\Services::ObjectModes::Custom\Field
Definition:
Field.php:23
ILIAS\AdvancedMetaData\Services\ObjectModes\Custom
Definition:
Custom.php:21
ILIAS\Cache\Services::ObjectModes::Custom\FieldInterface
Definition:
FieldInterface.php:23
ILIAS\Cache\Services::ObjectModes::Custom\Field\$title
string $title
Definition:
Field.php:25
ILIAS\Cache\Services::ObjectModes::Custom\Field\$html_value
string $html_value
Definition:
Field.php:27
ILIAS\Cache\Services::ObjectModes::Custom\Field\presentableTitle
presentableTitle()
Definition:
Field.php:39
ILIAS\Cache\Services::ObjectModes::Custom\Field\$string_value
string $string_value
Definition:
Field.php:26
ILIAS\Cache\Services::ObjectModes::Custom\Field\valueAsHTML
valueAsHTML()
Definition:
Field.php:49
components
ILIAS
AdvancedMetaData
classes
Services
ObjectModes
Custom
Field.php
Generated on Sun Aug 31 2025 23:02:05 for ILIAS by
1.8.13 (using
Doxyfile
)