[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
DokuWiki Revisions Interface parent class of PageRevisions and MediaRevisions Note: navigation starts from -1, not 0. This is because our Revision management starts old revisions at 0 and will return the current revision only if the revisions starting at -1 are requested.
File Size: | 113 lines (3 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) return: array revisions to be shown in a paginated list param: int $first param: bool $hasNext see: also https://www.dokuwiki.org/devel:changelog |
navigation($first, $hasNext, $callback) X-Ref |
Navigation buttons for Pagination (prev/next) return: string html param: int $first param: bool $hasNext param: callable $callback returns array of hidden fields for the form button |