[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Base for diff rendering classes. Portions taken from phpwiki-1.3.3. Copyright © 2000, 2001 Geoffrey T. Dairiki <[email protected]> You may copy this code freely under the conditions of the GPL.
File Size: | 247 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
format( $diff ) X-Ref |
Format a diff. param: Diff $diff return: string The formatted output. |
block( $xbeg, $xlen, $ybeg, $ylen, &$edits ) X-Ref |
param: int $xbeg param: int $xlen param: int $ybeg param: int $ylen param: array $edits |
startDiff() X-Ref |
No description |
endDiff() X-Ref |
return: string |
blockHeader( $xbeg, $xlen, $ybeg, $ylen ) X-Ref |
param: int $xbeg param: int $xlen param: int $ybeg param: int $ylen return: string |
startBlock( $header ) X-Ref |
Called at the start of a block of connected edits. This default implementation writes the header and a newline to the output buffer. param: string $header |
endBlock() X-Ref |
Called at the end of a block of connected edits. This default implementation does nothing. |
lines( $lines, $prefix = ' ' ) X-Ref |
Writes all (optionally prefixed) lines to the output buffer, separated by newlines. param: string[] $lines param: string $prefix |
context( $lines ) X-Ref |
param: string[] $lines |
added( $lines ) X-Ref |
param: string[] $lines |
deleted( $lines ) X-Ref |
param: string[] $lines |
changed( $orig, $closing ) X-Ref |
Writes the two sets of lines to the output buffer, separated by "---" and a newline. param: string[] $orig param: string[] $closing |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |