@TODO: Doc this class
More...
|
| _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=' ') |
|
| _lines ($lines, $prefix=' ', $color="white") |
|
| _start_block ($header) |
|
| _start_diff () |
|
| format ($diff) |
| Format a diff. More...
|
|
| get_result () |
|
◆ format()
WikiDiffFormatter::format |
( |
|
$diff | ) |
|
|
inherited |
Format a diff.
- Parameters
-
- Return values
-
string | The formatted output. |
◆ $leading_context_lines
WikiDiffFormatter::$leading_context_lines = 0 |
|
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.
◆ $trailing_context_lines
WikiDiffFormatter::$trailing_context_lines = 0 |
|
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.
The documentation for this class was generated from the following file: