1 diff.inc WordLevelDiff::__construct($orig_lines, $closing_lines)

Parameters

$orig_lines:

$closing_lines:

Overrides MappedDiff::__construct

File

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

Class

WordLevelDiff
@private

Code

function __construct($orig_lines, $closing_lines) {
  list($orig_words, $orig_stripped) = $this->split($orig_lines);
  list($closing_words, $closing_stripped) = $this->split($closing_lines);

  parent::__construct($orig_words, $closing_words, $orig_stripped, $closing_stripped);
}