[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Ui/ -> Revisions.php (summary)

(no description)

File Size: 449 lines (17 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Revisions:: (15 methods):
  __construct()
  show()
  showMediaRevisions()
  showPageRevisions()
  getRevisions()
  htmlNavigation()
  getObjRevInfo()
  __construct()
  currentIndicator()
  editDate()
  editSummary()
  editor()
  itemName()
  difflink()
  sizeChange()


Class: Revisions  - X-Ref

DokuWiki Revisions Interface

__construct($first = 0, $media_id = false)   X-Ref
Revisions Ui constructor

param: int $first  skip the first n changelog lines
param: bool|string $media_id  id of media, or false for current page

show()   X-Ref
Display list of old revisions

return: void
author: Andreas Gohr <andi@splitbrain.org>
author: Ben Coburn <btcoburn@silicodon.net>
author: Kate Arzamastseva <pshns@ukr.net>
author: Satoshi Sahara <sahara.satoshi@gmail.com>

showMediaRevisions($id)   X-Ref
Display a list of Media Revisions in the MediaManager

param: string $id  media id
return: void

showPageRevisions($id)   X-Ref
Display a list of Page Revisions

return: void

getRevisions(&$first, &$hasNext)   X-Ref
Get revisions, and set correct pagenation parameters (first, hasNext)

param: int  $first
param: bool $hasNext
return: array  revisions to be shown in a pagenated list
see: also https://www.dokuwiki.org/devel:changelog

htmlNavigation($id, $first, $hasNext)   X-Ref
Navigation buttons for Pagenation (prev/next)

param: string $id  page id or media id
param: int  $first
param: bool $hasNext
return: array  html

getObjRevInfo(array $info)   X-Ref
Returns instance of objRevInfo

param: array $info  Revision info structure of a page or media file
return: objRevInfo object (anonymous class)

__construct(array $info)   X-Ref
No description

currentIndicator()   X-Ref
No description

editDate()   X-Ref
No description

editSummary()   X-Ref
No description

editor()   X-Ref
No description

itemName()   X-Ref
No description

difflink()   X-Ref
No description

sizeChange()   X-Ref
No description