MediaWiki
1.42.0
RenderAction.php
Go to the documentation of this file.
1
<?php
28
class
RenderAction
extends
FormlessAction
{
29
30
public
function
getName
() {
31
return
'render'
;
32
}
33
34
public
function
onView
() {
35
return
null
;
36
}
37
38
public
function
show
() {
39
$this->
getArticle
()->render();
40
}
41
}
Action\getArticle
getArticle()
Get a Article object.
Definition
Action.php:201
FormlessAction
An action which just does something, without showing a form first.
Definition
FormlessAction.php:30
RenderAction
Handle action=render.
Definition
RenderAction.php:28
RenderAction\getName
getName()
Return the name of the action this object responds to.
Definition
RenderAction.php:30
RenderAction\show
show()
Definition
RenderAction.php:38
RenderAction\onView
onView()
Show something on GET request.
Definition
RenderAction.php:34
includes
actions
RenderAction.php
Generated on Thu Jun 13 2024 13:47:29 for MediaWiki by
1.10.0