MediaWiki REL1_34
RenderAction.php
Go to the documentation of this file.
1<?php
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->page->render();
40 }
41}
An action which just does something, without showing a form first.
Handle action=render.
getName()
Return the name of the action this object responds to.
show()
The main action entry point.
onView()
Show something on GET request.