MediaWiki
1.23.0
|
Stub object for the user language. More...
Public Member Functions | |
__call ( $name, $args) | |
Function called by PHP if no function with that name exists in this object. More... | |
__construct () | |
_newObject () | |
Public Member Functions inherited from StubObject | |
__construct ( $global=null, $class=null, $params=array()) | |
Constructor. More... | |
_call ( $name, $args) | |
Function called if any function exists with that name in this object. More... | |
_unstub ( $name='_unstub', $level=2) | |
This function creates a new object of the real class and replace it in the global variable. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from StubObject | |
static | isRealObject ( $obj) |
Returns a bool value whenever $obj is a stub object. More... | |
static | unstub ( $obj) |
Unstubs an object, if it is a stub object. More... | |
Public Attributes inherited from StubObject | |
$mClass | |
$mGlobal | |
$mParams | |
Stub object for the user language.
It depends of the user preferences and "uselang" parameter that can be passed to index.php. This object have to be in $wgLang global.
Definition at line 190 of file StubObject.php.
StubUserLang::__construct | ( | ) |
Definition at line 192 of file StubObject.php.
StubUserLang::__call | ( | $name, | |
$args | |||
) |
Function called by PHP if no function with that name exists in this object.
string | $name | name of the function called |
array | $args | arguments |
Reimplemented from StubObject.
Definition at line 196 of file StubObject.php.
References $args, $name, and StubObject\_call().
StubUserLang::_newObject | ( | ) |
Reimplemented from StubObject.
Definition at line 203 of file StubObject.php.
References RequestContext\getMain().