MediaWiki  REL1_22
SpecialUserlogout Class Reference

Implements Special:Userlogout. More...

Inheritance diagram for SpecialUserlogout:
Collaboration diagram for SpecialUserlogout:

List of all members.

Public Member Functions

 __construct ()
 execute ($par)
 Default execute method Checks user permissions, calls the function given in mFunction.

Protected Member Functions

 getGroupName ()
 Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Detailed Description

Implements Special:Userlogout.

Definition at line 29 of file SpecialUserlogout.php.


Constructor & Destructor Documentation

Definition at line 31 of file SpecialUserlogout.php.


Member Function Documentation

Default execute method Checks user permissions, calls the function given in mFunction.

This must be overridden by subclasses; it will be made abstract in a future version

Parameters:
$subPagestring|null

Reimplemented from SpecialPage.

Definition at line 35 of file SpecialUserlogout.php.

References $out, $user, array(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getTitleFor(), SpecialPage\getUser(), SpecialPage\msg(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), wfDebug(), and wfRunHooks().

Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Returns:
string
Since:
1.21

Reimplemented from SpecialPage.

Definition at line 66 of file SpecialUserlogout.php.


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