MediaWiki  REL1_22
RollbackAction Class Reference

User interface for the rollback action. More...

Inheritance diagram for RollbackAction:
Collaboration diagram for RollbackAction:

List of all members.

Public Member Functions

 getName ()
 Return the name of the action this object responds to.
 getRestriction ()
 Get the permission required to perform this action.
 onView ()
 Show something on GET request.

Protected Member Functions

 getDescription ()
 Returns the description that goes below the <h1> tag.

Detailed Description

User interface for the rollback action.

Definition at line 28 of file RollbackAction.php.


Member Function Documentation

Returns the description that goes below the <h1> tag.

Returns:
String

Reimplemented from Action.

Definition at line 104 of file RollbackAction.php.

Return the name of the action this object responds to.

Returns:
String lowercase

Reimplemented from Action.

Definition at line 30 of file RollbackAction.php.

Get the permission required to perform this action.

Often, but not always, the same as the action name

Returns:
String|null

Reimplemented from Action.

Definition at line 34 of file RollbackAction.php.

Show something on GET request.

Returns:
String|null will be added to the HTMLForm if present, or just added to the output if not. Return null to not add anything

Reimplemented from FormlessAction.

Definition at line 38 of file RollbackAction.php.

References $error, $result, array(), as, Linker\formatComment(), Action\getContext(), Action\getOutput(), Action\getRequest(), Action\getTitle(), Action\getUser(), Action\msg(), page, Linker\revUserTools(), and true.


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