ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\MetaData\Services\DataHelper\LabelledValue Class Reference
+ Inheritance diagram for ILIAS\MetaData\Services\DataHelper\LabelledValue:
+ Collaboration diagram for ILIAS\MetaData\Services\DataHelper\LabelledValue:

Public Member Functions

 __construct (string $value, string $label)
 
 value ()
 The value as it should be written into LOM. More...
 
 presentableLabel ()
 The translated label of the value, that can be presented to the user. More...
 
 value ()
 The value as it should be written into LOM. More...
 
 presentableLabel ()
 The translated label of the value, that can be presented to the user. More...
 

Protected Attributes

string $value
 
string $label
 

Detailed Description

Definition at line 25 of file LabelledValue.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MetaData\Services\DataHelper\LabelledValue::__construct ( string  $value,
string  $label 
)

Member Function Documentation

◆ presentableLabel()

ILIAS\MetaData\Services\DataHelper\LabelledValue::presentableLabel ( )

The translated label of the value, that can be presented to the user.

Implements ILIAS\MetaData\Services\DataHelper\LabelledValueInterface.

Definition at line 43 of file LabelledValue.php.

43 : string
44 {
45 return $this->label;
46 }

References ILIAS\MetaData\Services\DataHelper\LabelledValue\$label.

◆ value()

ILIAS\MetaData\Services\DataHelper\LabelledValue::value ( )

The value as it should be written into LOM.

Implements ILIAS\MetaData\Services\DataHelper\LabelledValueInterface.

Definition at line 38 of file LabelledValue.php.

38 : string
39 {
40 return $this->value;
41 }

References ILIAS\MetaData\Services\DataHelper\LabelledValue\$value.

Referenced by ILIAS\MetaData\Services\DataHelper\LabelledValue\__construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $label

string ILIAS\MetaData\Services\DataHelper\LabelledValue::$label
protected

◆ $value

string ILIAS\MetaData\Services\DataHelper\LabelledValue::$value
protected

The documentation for this class was generated from the following file: