You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- /**
- * Created by IntelliJ IDEA.
- * User: andi
- * Date: 2/10/17
- * Time: 4:32 PM
- */
-
- namespace dokuwiki\Action;
-
- use dokuwiki\Ui\PageView;
- use dokuwiki\Ui;
-
- /**
- * Class Show
- *
- * The default action of showing a page
- *
- * @package dokuwiki\Action
- */
- class Show extends AbstractAction
- {
- /** @inheritdoc */
- public function minimumPermission()
- {
- return AUTH_READ;
- }
-
- /** @inheritdoc */
- public function preProcess()
- {
- global $ID;
- unlock($ID);
- }
-
- /** @inheritdoc */
- public function tplContent()
- {
- (new PageView())->show();
- }
- }
|