summaryrefslogtreecommitdiff
path: root/includes/actions/ViewAction.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/actions/ViewAction.php')
-rw-r--r--includes/actions/ViewAction.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/includes/actions/ViewAction.php b/includes/actions/ViewAction.php
index d57585ee..e227197d 100644
--- a/includes/actions/ViewAction.php
+++ b/includes/actions/ViewAction.php
@@ -23,17 +23,24 @@
* @author Timo Tijhof
*/
+/**
+ * An action that views article content
+ *
+ * This is a wrapper that will call Article::render().
+ *
+ * @ingroup Actions
+ */
class ViewAction extends FormlessAction {
public function getName() {
return 'view';
}
- public function onView(){
+ public function onView() {
return null;
}
- public function show(){
+ public function show() {
$this->page->view();
}