ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
MultiLanguage.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\GUI\I18n
;
22
23
use
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\TranslationsRepository
;
24
29
class
MultiLanguage
30
{
31
public
function
__construct
(
32
private
?
TranslationsRepository
$repository =
null
33
) {
34
}
35
36
public
function
isSupported
(): bool
37
{
38
return
$this->
repository
!==
null
;
39
}
40
41
public
function
repository
(): ?
TranslationsRepository
42
{
43
return
$this->repository;
44
}
45
46
}
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage
Definition:
MultiLanguage.php:30
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\repository
repository()
Definition:
MultiLanguage.php:41
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\__construct
__construct(private ?TranslationsRepository $repository=null)
Definition:
MultiLanguage.php:31
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\isSupported
isSupported()
Definition:
MultiLanguage.php:36
ILIAS\GlobalScreen\GUI\I18n\MultiLanguage\TranslationsRepository
Definition:
TranslationsRepository.php:28
ILIAS\GlobalScreen\GUI\I18n
Definition:
MultiLanguage.php:21
components
ILIAS
GlobalScreen
src
GUI
I18n
MultiLanguage.php
Generated on Sat Oct 18 2025 23:03:06 for ILIAS by
1.9.4 (using
Doxyfile
)