ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
TranslationDTO.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage
;
20
25
class
TranslationDTO
implements
Translation
26
{
27
public
function
__construct
(
28
private
readonly
string
$id
,
29
private
readonly
string
$language_code,
30
private
readonly
string
$translation
31
) {
32
}
33
34
public
function
getId
(): string
35
{
36
return
$this->id
;
37
}
38
39
public
function
getLanguageCode
(): string
40
{
41
return
$this->language_code;
42
}
43
44
public
function
getTranslation
(): string
45
{
46
return
$this->translation;
47
}
48
49
}
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\TranslationDTO
Definition:
TranslationDTO.php:26
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\TranslationDTO\getTranslation
getTranslation()
Definition:
TranslationDTO.php:44
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\TranslationDTO\getLanguageCode
getLanguageCode()
Definition:
TranslationDTO.php:39
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\TranslationDTO\getId
getId()
Definition:
TranslationDTO.php:34
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\TranslationDTO\__construct
__construct(private readonly string $id, private readonly string $language_code, private readonly string $translation)
Definition:
TranslationDTO.php:27
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\Translation
Definition:
Translation.php:26
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
TranslatableItem.php:19
components
ILIAS
GlobalScreen
src
GUI
I18n
MultiLanguage
TranslationDTO.php
Generated on Sat Oct 18 2025 23:03:06 for ILIAS by
1.9.4 (using
Doxyfile
)