You are here

function DrupalDiffFormatter::_block_header in Diff 6

Same name and namespace in other branches
  1. 5.2 DiffEngine.php \DrupalDiffFormatter::_block_header()
  2. 6.2 DiffEngine.php \DrupalDiffFormatter::_block_header()
  3. 7.3 DiffEngine.php \DrupalDiffFormatter::_block_header()
  4. 7.2 DiffEngine.php \DrupalDiffFormatter::_block_header()

Overrides DiffFormatter::_block_header

File

./DiffEngine.php, line 1055

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', $xbeg),
      'colspan' => 2,
    ),
    array(
      'data' => theme('diff_header_line', $ybeg),
      'colspan' => 2,
    ),
  );
}