Inherits StubObject.
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. |
The initialisation of the will depend of $wgCommandLineMode. If it's true, it will be an anonymous user and if it's false, the user will be loaded from credidentails provided by cookies. This object have to be in $wgUser global.
Definition at line 177 of file StubObject.php.
StubUser::__construct | ( | ) |
Definition at line 179 of file StubObject.php.
StubUser::__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 array of arguments |
Reimplemented from StubObject.
Definition at line 183 of file StubObject.php.
References $args, $name, and StubObject::_call().
StubUser::_newObject | ( | ) |
Create a new object to replace this stub object.
Reimplemented from StubObject.
Definition at line 187 of file StubObject.php.
References $user, $wgCommandLineMode, and User::newFromSession().