MediaWiki REL1_31
RenderAction.php
Go to the documentation of this file.
1<?php
34
35 public function getName() {
36 return 'render';
37 }
38
39 public function onView() {
40 return null;
41 }
42
43 public function show() {
44 $this->page->render();
45 }
46}
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.