Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Wikipedia Table style diff formatter. More...
Public Member Functions | |
_added ($lines) | |
_block ($xbeg, $xlen, $ybeg, $ylen, &$edits) | |
_block_header ( $xbeg, $xlen, $ybeg, $ylen) | |
_changed ( $orig, $closing) | |
_context ( $lines) | |
_deleted ($lines) | |
_end_block () | |
_end_diff () | |
_lines ( $lines, $prefix=' ', $color="white") | |
_lines ($lines, $prefix=' ') | |
_start_block ( $header) | |
_start_diff () | |
addedLine ( $line) | |
contextLine ( $line) | |
deletedLine ( $line) | |
emptyLine () | |
format ($diff) | |
Format a diff. More... | |
TableWikiDiffFormatter () | |
Public Attributes | |
$leading_context_lines = 0 | |
Number of leading context "lines" to preserve. More... | |
$trailing_context_lines = 0 | |
Number of trailing context "lines" to preserve. More... | |
Wikipedia Table style diff formatter.
TableWikiDiffFormatterOld::_added | ( | $lines | ) |
Reimplemented from WikiDiffFormatter.
TableWikiDiffFormatterOld::_block_header | ( | $xbeg, | |
$xlen, | |||
$ybeg, | |||
$ylen | |||
) |
Reimplemented from WikiDiffFormatter.
TableWikiDiffFormatterOld::_changed | ( | $orig, | |
$closing | |||
) |
Reimplemented from WikiDiffFormatter.
TableWikiDiffFormatterOld::_context | ( | $lines | ) |
Reimplemented from WikiDiffFormatter.
TableWikiDiffFormatterOld::_deleted | ( | $lines | ) |
Reimplemented from WikiDiffFormatter.
TableWikiDiffFormatterOld::_end_block | ( | ) |
Reimplemented from WikiDiffFormatter.
TableWikiDiffFormatterOld::_start_block | ( | $header | ) |
Reimplemented from WikiDiffFormatter.
|
inherited |
|
inherited |
Number of leading context "lines" to preserve.
This should be left at zero for this class, but subclasses may want to set this to other values.
|
inherited |
Number of trailing context "lines" to preserve.
This should be left at zero for this class, but subclasses may want to set this to other values.