StubUser Class Reference

Stub object for the user. 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.

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.


Constructor & Destructor Documentation

StubUser::__construct (  ) 

Definition at line 179 of file StubObject.php.


Member Function Documentation

StubUser::__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 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().


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