MediaWiki
REL1_19
|
A formatter that outputs unified diffs. More...
Public Member Functions | |
_added ($lines) | |
_block_header ($xbeg, $xlen, $ybeg, $ylen) | |
_changed ($orig, $closing) | |
_deleted ($lines) | |
Public Attributes | |
$leading_context_lines = 2 | |
Number of leading context "lines" to preserve. | |
$trailing_context_lines = 2 | |
Number of trailing context "lines" to preserve. |
A formatter that outputs unified diffs.
Definition at line 1045 of file DairikiDiff.php.
UnifiedDiffFormatter::_added | ( | $ | lines | ) |
$lines |
Reimplemented from DiffFormatter.
Definition at line 1052 of file DairikiDiff.php.
References $lines, and DiffFormatter\_lines().
Referenced by _changed().
UnifiedDiffFormatter::_block_header | ( | $ | xbeg, |
$ | xlen, | ||
$ | ybeg, | ||
$ | ylen | ||
) |
$xbeg | |
$xlen | |
$ybeg | |
$ylen |
Reimplemented from DiffFormatter.
Definition at line 1079 of file DairikiDiff.php.
UnifiedDiffFormatter::_changed | ( | $ | orig, |
$ | closing | ||
) |
$orig | |
$closing |
Reimplemented from DiffFormatter.
Definition at line 1067 of file DairikiDiff.php.
References _added(), and _deleted().
UnifiedDiffFormatter::_deleted | ( | $ | lines | ) |
$lines |
Reimplemented from DiffFormatter.
Definition at line 1059 of file DairikiDiff.php.
References $lines, and DiffFormatter\_lines().
Referenced by _changed().
UnifiedDiffFormatter::$leading_context_lines = 2 |
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.
Reimplemented from DiffFormatter.
Definition at line 1046 of file DairikiDiff.php.
UnifiedDiffFormatter::$trailing_context_lines = 2 |
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.
Reimplemented from DiffFormatter.
Definition at line 1047 of file DairikiDiff.php.