[ Index ] |
PHP Cross Reference of DokuWiki |
[Summary view] [Print] [Text view]
1 <?php 2 3 namespace dokuwiki\Action; 4 5 use dokuwiki\Ui\PageRevisions; 6 use dokuwiki\Ui; 7 8 /** 9 * Class Revisions 10 * 11 * Show the list of old revisions of the current page 12 * 13 * @package dokuwiki\Action 14 */ 15 class Revisions extends AbstractAction 16 { 17 /** @inheritdoc */ 18 public function minimumPermission() 19 { 20 return AUTH_READ; 21 } 22 23 /** @inheritdoc */ 24 public function tplContent() 25 { 26 global $INFO, $INPUT; 27 (new PageRevisions($INFO['id']))->show($INPUT->int('first', -1)); 28 } 29 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body