MediaWiki REL1_39
StubUserLang Class Reference

Stub object for the user language. More...

Inheritance diagram for StubUserLang:
Collaboration diagram for StubUserLang:

Public Member Functions

 __construct ()
 
 _newObject ()
 
- Public Member Functions inherited from StubObject
 __call ( $name, $args)
 Function called by PHP if no function with that name exists in this object.
 
 __construct ( $global=null, $class=null, $params=[])
 
 __get ( $name)
 Function called by PHP if no property with that name exists in this object.
 
 __set ( $name, $value)
 Function called by PHP if no property with that name exists in this object.
 
 _call ( $name, $args)
 Function called if any function exists with that name in this object.
 
 _get ( $name)
 Wrapper for __get(), similar to _call() above.
 
 _set ( $name, $value)
 Wrapper for __set(), similar to _call() above.
 
 _unstub ( $name='_unstub', $level=2)
 This function creates a new object of the real class and replace it in the global variable.
 

Additional Inherited Members

- Static Public Member Functions inherited from StubObject
static isRealObject ( $obj)
 Returns a bool value whenever $obj is a stub object.
 
static unstub (&$obj)
 Unstubs an object, if it is a stub object.
 
- Protected Attributes inherited from StubObject
null string $class
 
null callable $factory
 
null string $global
 
array $params
 

Detailed Description

Stub object for the user language.

Assigned to the $wgLang global.

Definition at line 24 of file StubUserLang.php.

Constructor & Destructor Documentation

◆ __construct()

StubUserLang::__construct ( )

Definition at line 26 of file StubUserLang.php.

Member Function Documentation

◆ _newObject()

StubUserLang::_newObject ( )
Returns
Language

Reimplemented from StubObject.

Definition at line 33 of file StubUserLang.php.


The documentation for this class was generated from the following file: