MediaWiki
REL1_39
StubUserLang.php
Go to the documentation of this file.
1
<?php
24
class
StubUserLang
extends
StubObject
{
25
26
public
function
__construct
() {
27
parent::__construct(
'wgLang'
);
28
}
29
33
public
function
_newObject
() {
34
return
RequestContext::getMain()->getLanguage();
35
}
36
}
StubObject
Class to implement stub globals, which are globals that delay loading the their associated module cod...
Definition
StubObject.php:51
StubUserLang
Stub object for the user language.
Definition
StubUserLang.php:24
StubUserLang\__construct
__construct()
Definition
StubUserLang.php:26
StubUserLang\_newObject
_newObject()
Definition
StubUserLang.php:33
includes
StubUserLang.php
Generated on Thu Nov 21 2024 05:24:27 for MediaWiki by
1.10.0