MediaWiki
REL1_37
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 Fri Apr 5 2024 23:41:02 for MediaWiki by
1.9.8