function TableDiffFormatter::_added in Diff 5
Overrides DiffFormatter::_added
File
- ./
DiffEngine.php, line 1079
Class
- TableDiffFormatter
- Wikipedia Table style diff formatter. @todo document @private @subpackage DifferenceEngine
Code
function _added($lines) {
foreach ($lines as $line) {
echo '<tr>' . $this
->emptyLine() . $this
->addedLine(check_plain($line)) . "</tr>\n";
}
}