MediaWiki  REL1_19
ViewAction Class Reference
Inheritance diagram for ViewAction:
Collaboration diagram for ViewAction:

List of all members.

Public Member Functions

 getName ()
 Return the name of the action this object responds to.
 onView ()
 Show something on GET request.
 show ()
 The main action entry point.

Detailed Description

Definition at line 26 of file ViewAction.php.


Member Function Documentation

Return the name of the action this object responds to.

Returns:
String lowercase

Reimplemented from Action.

Definition at line 28 of file ViewAction.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 32 of file ViewAction.php.

The main action entry point.

Do all output for display and send it to the context output. Do not use globals $wgOut, $wgRequest, etc, in implementations; use $this->getOutput(), etc.

Exceptions:
ErrorPageError

Reimplemented from FormlessAction.

Definition at line 36 of file ViewAction.php.

References $wgSquidMaxage, and Action\getOutput().

Here is the call graph for this function:


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