MediaWiki REL1_39
StubUserLang.php
Go to the documentation of this file.
1<?php
24class 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}
Class to implement stub globals, which are globals that delay loading the their associated module cod...
Stub object for the user language.