|
MediaWiki
REL1_23
|
A formatter that outputs unified diffs. More...


Protected Member Functions | |
| added ($lines) | |
| blockHeader ($xbeg, $xlen, $ybeg, $ylen) | |
| changed ($orig, $closing) | |
| deleted ($lines) | |
Protected Attributes | |
| int | $leadingContextLines = 2 |
| * | |
| int | $trailingContextLines = 2 |
| * | |
A formatter that outputs unified diffs.
Definition at line 31 of file UnifiedDiffFormatter.php.
| UnifiedDiffFormatter::added | ( | $ | lines | ) | [protected] |
| string[] | $lines |
Reimplemented from DiffFormatter.
Definition at line 40 of file UnifiedDiffFormatter.php.
| UnifiedDiffFormatter::blockHeader | ( | $ | xbeg, |
| $ | xlen, | ||
| $ | ybeg, | ||
| $ | ylen | ||
| ) | [protected] |
| int | $xbeg | |
| int | $xlen | |
| int | $ybeg | |
| int | $ylen |
Reimplemented from DiffFormatter.
Definition at line 68 of file UnifiedDiffFormatter.php.
| UnifiedDiffFormatter::changed | ( | $ | orig, |
| $ | closing | ||
| ) | [protected] |
| string[] | $orig |
| string[] | $closing |
Reimplemented from DiffFormatter.
Definition at line 55 of file UnifiedDiffFormatter.php.
| UnifiedDiffFormatter::deleted | ( | $ | lines | ) | [protected] |
| string[] | $lines |
Reimplemented from DiffFormatter.
Definition at line 47 of file UnifiedDiffFormatter.php.
int UnifiedDiffFormatter::$leadingContextLines = 2 [protected] |
int UnifiedDiffFormatter::$trailingContextLines = 2 [protected] |