[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/ChangeLog/ -> MediaChangeLog.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

MediaChangeLog:: (4 methods):
  getChangelogFilename()
  getFilename()
  getMode()
  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

getMode()   X-Ref
Returns mode

return: string RevisionInfo::MODE_PAGE

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

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