|
| TableDiffFormatter () |
|
| _block_header ( $xbeg, $xlen, $ybeg, $ylen) |
|
| _start_block ( $header) |
|
| _end_block () |
|
| _lines ( $lines, $prefix=' ', $color='white') |
|
| addedLine ( $line) |
|
| deletedLine ( $line) |
|
| contextLine ( $line) |
|
| emptyLine () |
|
| _added ( $lines) |
|
| _deleted ($lines) |
|
| _context ( $lines) |
|
| _changed ( $orig, $closing) |
|
| format ($diff) |
| Format a diff. More...
|
|
| _block ($xbeg, $xlen, $ybeg, $ylen, &$edits) |
|
| _start_diff () |
|
| _end_diff () |
|
| _block_header ($xbeg, $xlen, $ybeg, $ylen) |
|
| _start_block ($header) |
|
| _end_block () |
|
| _lines ($lines, $prefix=' ') |
|
| _context ($lines) |
|
| _added ($lines) |
|
| _deleted ($lines) |
|
| _changed ($orig, $closing) |
|
Definition at line 1706 of file class.WordLevelDiff.php.
◆ _added()
TableDiffFormatter::_added |
( |
|
$lines | ) |
|
Definition at line 1748 of file class.WordLevelDiff.php.
1750 return "<td>-</td><td class='diff-deletedline'>{$line}</td>";
1753 # HTML-escape parameter before calling this
◆ _block_header()
TableDiffFormatter::_block_header |
( |
|
$xbeg, |
|
|
|
$xlen, |
|
|
|
$ybeg, |
|
|
|
$ylen |
|
) |
| |
◆ _changed()
TableDiffFormatter::_changed |
( |
|
$orig, |
|
|
|
$closing |
|
) |
| |
Definition at line 1770 of file class.WordLevelDiff.php.
1771 echo
'<tr>' . $this->
deletedLine( htmlspecialchars ( $line ) ) .
1777 foreach ($lines as $line) {
1779 $this->
contextLine( htmlspecialchars ( $line ) ) .
1780 $this->
contextLine( htmlspecialchars ( $line ) ) .
"</tr>\n";
1784 function _changed( $orig, $closing ) {
1785 $fname =
'TableDiffFormatter::_changed';
1789 $del = $diff->orig();
1790 $add = $diff->closing();
◆ _context()
TableDiffFormatter::_context |
( |
|
$lines | ) |
|
◆ _deleted()
TableDiffFormatter::_deleted |
( |
|
$lines | ) |
|
◆ _end_block()
TableDiffFormatter::_end_block |
( |
| ) |
|
◆ _lines()
TableDiffFormatter::_lines |
( |
|
$lines, |
|
|
|
$prefix = ' ' , |
|
|
|
$color = 'white' |
|
) |
| |
◆ _start_block()
TableDiffFormatter::_start_block |
( |
|
$header | ) |
|
◆ addedLine()
TableDiffFormatter::addedLine |
( |
|
$line | ) |
|
◆ contextLine()
TableDiffFormatter::contextLine |
( |
|
$line | ) |
|
◆ deletedLine()
TableDiffFormatter::deletedLine |
( |
|
$line | ) |
|
◆ emptyLine()
TableDiffFormatter::emptyLine |
( |
| ) |
|
◆ TableDiffFormatter()
TableDiffFormatter::TableDiffFormatter |
( |
| ) |
|
The documentation for this class was generated from the following file: