StubUserLang Class Reference

Stub object for the user language. More...

Inherits StubObject.

List of all members.

Public Member Functions

 __construct ()
 __call ($name, $args)
 Function called by PHP if no function with that name exists in this object.
 _newObject ()
 Create a new object to replace this stub object.


Detailed Description

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 134 of file StubObject.php.


Constructor & Destructor Documentation

StubUserLang::__construct (  ) 

Definition at line 136 of file StubObject.php.


Member Function Documentation

StubUserLang::__call ( name,
args 
)

Function called by PHP if no function with that name exists in this object.

Parameters:
String $name name of the function called
Array $args array of arguments

Reimplemented from StubObject.

Definition at line 140 of file StubObject.php.

References $args, $name, and StubObject::_call().

StubUserLang::_newObject (  ) 

Create a new object to replace this stub object.

Reimplemented from StubObject.

Definition at line 144 of file StubObject.php.

References $code, $obj, $wgContLang, $wgContLanguageCode, $wgRequest, $wgUser, Language::factory(), and wfDebug().


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

Generated on Sat Sep 5 02:08:48 2009 for MediaWiki by  doxygen 1.5.9