function DrupalDiffFormatter::_block_header in Diff 7.2
Same name and namespace in other branches
- 5.2 DiffEngine.php \DrupalDiffFormatter::_block_header()
- 6.2 DiffEngine.php \DrupalDiffFormatter::_block_header()
- 6 DiffEngine.php \DrupalDiffFormatter::_block_header()
- 7.3 DiffEngine.php \DrupalDiffFormatter::_block_header()
Overrides DiffFormatter::_block_header
File
- ./
DiffEngine.php, line 1101 - A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)
Class
- DrupalDiffFormatter
- Diff formatter which uses Drupal theme functions. @private @subpackage DifferenceEngine
Code
function _block_header($xbeg, $xlen, $ybeg, $ylen) {
return array(
array(
'data' => theme('diff_header_line', array(
'lineno' => $xbeg,
)),
'colspan' => 2,
),
array(
'data' => theme('diff_header_line', array(
'lineno' => $ybeg,
)),
'colspan' => 2,
),
);
}