[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

MediaChangeLog:: (3 methods):
  getChangelogFilename()
  getFilename()
  addLogEntry()


Class: MediaChangeLog  - X-Ref

Class MediaChangeLog; handles changelog of a media file

getChangelogFilename()   X-Ref
Returns path to changelog

return: string path to file

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

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

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

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