ILIAS
trunk Revision v11.0_alpha-1843-g9e1fad99175
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
LanguageLegacyInitialisationAdapter.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Language
;
22
26
class
LanguageLegacyInitialisationAdapter
implements
Language
27
{
28
public
function
txt
(
string
$a_topic,
string
$a_default_lang_fallback_mod =
""
): string
29
{
30
return
$this->
getLegacyLanguageInstance
()->txt($a_topic, $a_default_lang_fallback_mod);
31
}
32
33
public
function
loadLanguageModule
(
string
$a_module): void
34
{
35
$this->
getLegacyLanguageInstance
()->loadLanguageModule($a_module);
36
}
37
38
public
function
getLangKey
(): string
39
{
40
return
$this->
getLegacyLanguageInstance
()->getLangKey();
41
}
42
43
public
function
toJS
($key): void
44
{
45
$this->
getLegacyLanguageInstance
()->toJS($key);
46
}
47
48
protected
function
getLegacyLanguageInstance
():
Language
49
{
50
global
$DIC
;
51
return
$DIC->language();
52
}
53
}
ILIAS\Language\LanguageLegacyInitialisationAdapter\toJS
toJS($key)
Definition:
LanguageLegacyInitialisationAdapter.php:43
ILIAS\Language\LanguageLegacyInitialisationAdapter\getLegacyLanguageInstance
getLegacyLanguageInstance()
Definition:
LanguageLegacyInitialisationAdapter.php:48
ILIAS\Language\LanguageLegacyInitialisationAdapter
Definition:
LanguageLegacyInitialisationAdapter.php:26
ILIAS\Language
Definition:
Language.php:21
$DIC
global $DIC
Definition:
shib_login.php:22
ILIAS\Language\LanguageLegacyInitialisationAdapter\getLangKey
getLangKey()
Definition:
LanguageLegacyInitialisationAdapter.php:38
ILIAS\Language\LanguageLegacyInitialisationAdapter\loadLanguageModule
loadLanguageModule(string $a_module)
Definition:
LanguageLegacyInitialisationAdapter.php:33
ILIAS\Language\LanguageLegacyInitialisationAdapter\txt
txt(string $a_topic, string $a_default_lang_fallback_mod="")
Definition:
LanguageLegacyInitialisationAdapter.php:28
ILIAS\Language\Language
Definition:
Language.php:23
components
ILIAS
Language
src
LanguageLegacyInitialisationAdapter.php
Generated on Thu Apr 17 2025 23:03:02 for ILIAS by
1.8.13 (using
Doxyfile
)