1<?php 2 3namespace dokuwiki\ChangeLog; 4 5/** 6 * handles changelog of a wiki page 7 */ 8class PageChangeLog extends ChangeLog 9{ 10 11 /** 12 * Returns path to changelog 13 * 14 * @return string path to file 15 */ 16 protected function getChangelogFilename() 17 { 18 return metaFN($this->id, '.changes'); 19 } 20 21 /** 22 * Returns path to current page/media 23 * 24 * @return string path to file 25 */ 26 protected function getFilename() 27 { 28 return wikiFN($this->id); 29 } 30} 31