3 require_once 'MTrack/Wiki.php';
9 /** Revision or changeset identifier for this particular file */
12 /** commit message associated with this revision */
15 /** who committed this revision */
18 /** when this revision was committed */
21 /** files affected in this event; may be null, but otherwise
22 * will be an array of MTrackSCMFileEvent */
26 function changelogOneToHtml()
28 list($one) = explode("\n", $this->changelog);
29 return MTrack_Wiki::format_to_oneliner(rtrim($one, " \r\n"));
31 function changelogToHtml()
33 return MTrack_Wiki::format_to_html($ent->changelog);
36 function changeByToHtml($linkHandler)
38 return $linkHandler->username($this->changeby, array('size' => 16));
39 //mtrack_username($d->changeby, array('size' => 16)) <<< might add size here as an arg..
41 function ctimeToHtml($linkHandler)
43 return $linkHandler->date($this->ctime);
45 function changeset($linkHandler)
47 return $linkHandler->changeset($this->rev, $this->repo);