function DrupalDiffFormatter::_block_header in Diff 7.3
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.2 DiffEngine.php \DrupalDiffFormatter::_block_header()
Overrides DiffFormatter::_block_header
File
- ./
DiffEngine.php, line 1118 - 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 + $this->line_stats['offset']['x'],
)),
'colspan' => 2,
),
array(
'data' => theme('diff_header_line', array(
'lineno' => $ybeg + $this->line_stats['offset']['y'],
)),
'colspan' => 2,
),
);
}