internal package
Foswiki::Contrib::MailerContrib::Change
Object that represents a change to a topic.
new($web, $topic, $author, $time, $rev)
-
$web
- Web name
-
$topic
- Topic name
-
$author
- String author of change
-
$time
- String time of change
-
$rev
- Revision identifier
Construct a new change object.
merge($change)
-
$change
- Change record to merge
Merge another change record with this one, so that the combined
record is a reflection of both changes.
expandHTML($html) -> string
-
$html
- Template to expand keys within
Expand an HTML template using the values in this change. The following
keys are expanded: %TOPICNAME%, %AUTHOR%, %TIME%,
%REVISION%, %BASE_REV%, %CUR_REV%, %TEXTHEAD%.
Returns the expanded template.
expandPlain() -> string
Generate a plaintext version of this change.
expandDiff() -> string
Generate a unified diff version of this change.