ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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...
 

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.

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

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

◆ 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.

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

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

38  : string
39  {
40  return $this->value;
41  }
+ 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: