X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FViewAction.php;h=3a24565c35d09593a8ef7677db5b003bac2d2951;hb=9c90b64b7d45f734f7c8c7561689c63d3ae5eab8;hp=d57585ee1f52366f0d3fba2f648dc933a96b2e03;hpb=03f81522c5a7a0aa758a30183288709f17f36cb9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/ViewAction.php b/includes/actions/ViewAction.php index d57585ee1f..3a24565c35 100644 --- a/includes/actions/ViewAction.php +++ b/includes/actions/ViewAction.php @@ -23,18 +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(); } - }