MediaWiki  REL1_24
RenderAction Class Reference

Handle action=render. More...

Inheritance diagram for RenderAction:
Collaboration diagram for RenderAction:

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

Handle action=render.

This is a wrapper that will call Article::render().

Definition at line 33 of file RenderAction.php.


Member Function Documentation

Return the name of the action this object responds to.

Since:
1.17
Returns:
string Lowercase name

Reimplemented from Action.

Definition at line 35 of file RenderAction.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 39 of file RenderAction.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.

Since:
1.17
Exceptions:
ErrorPageError

Reimplemented from FormlessAction.

Definition at line 43 of file RenderAction.php.

References page.


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