1 diff.inc protected BackdropDiffFormatter::blockHeader($xbeg, $xlen, $ybeg, $ylen)

Parameters

$xbeg:

$xlen:

$ybeg:

$ylen:

Return value

string:

Overrides DiffFormatter::blockHeader

File

core/includes/diff.inc, line 1185
A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)

Class

BackdropDiffFormatter
Backdrop diff formatter which returns diffs as an array.

Code

protected function blockHeader($xbeg, $xlen, $ybeg, $ylen) {
  return array(
    array(
      'data' => $xbeg + $this->lineStats['offset']['x'],
      'colspan' => 2,
    ),
    array(
      'data' => $ybeg + $this->lineStats['offset']['y'],
      'colspan' => 2,
    )
  );
}