[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/ChangeLog/ -> PageChangeLog.php (summary)

(no description)

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

Defines 1 class

PageChangeLog:: (4 methods):
  getChangelogFilename()
  getFilename()
  getMode()
  addLogEntry()


Class: PageChangeLog  - X-Ref

Class PageChangeLog; handles changelog of a wiki page

getChangelogFilename()   X-Ref
Returns path to changelog

return: string path to file

getFilename($rev = '')   X-Ref
Returns path to current page/media

return: string path to file
param: string|int $rev empty string or revision timestamp

getMode()   X-Ref
Returns mode

return: string RevisionInfo::MODE_PAGE

addLogEntry(array $info, $timestamp = null)   X-Ref
Adds an entry to the changelog

return: array revision info of added log line
param: array $info    Revision info structure of a page
param: int $timestamp log line date (optional)
see: also addLogEntry() in inc/changelog.php file