[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
DokuWiki Revisions Interface parent class of PageRevisions and MediaRevisions
File Size: | 120 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__construct($id) X-Ref |
Revisions Ui constructor param: string $id page id or media id |
getRevisions(&$first, &$hasNext) X-Ref |
Get revisions, and set correct pagination parameters (first, hasNext) see: also https://www.dokuwiki.org/devel:changelog param: int $first param: bool $hasNext return: array revisions to be shown in a paginated list |
navigation($first, $hasNext, $callback) X-Ref |
Navigation buttons for Pagination (prev/next) param: int $first param: bool $hasNext param: callable $callback returns array of hidden fields for the form button return: string html |