[ Index ] |
PHP Cross Reference of DokuWiki |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Created by IntelliJ IDEA. 4 * User: andi 5 * Date: 2/10/17 6 * Time: 4:32 PM 7 */ 8 9 namespace dokuwiki\Action; 10 11 use dokuwiki\Ui; 12 13 /** 14 * Class Show 15 * 16 * The default action of showing a page 17 * 18 * @package dokuwiki\Action 19 */ 20 class Show extends AbstractAction 21 { 22 /** @inheritdoc */ 23 public function minimumPermission() { 24 return AUTH_READ; 25 } 26 27 /** @inheritdoc */ 28 public function preProcess() 29 { 30 global $ID; 31 unlock($ID); 32 } 33 34 /** @inheritdoc */ 35 public function tplContent() 36 { 37 (new Ui\PageView())->show(); 38 } 39 40 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body