You are here

function WordLevelDiff::WordLevelDiff in Diff 7.2

Same name and namespace in other branches
  1. 5.2 DiffEngine.php \WordLevelDiff::WordLevelDiff()
  2. 5 DiffEngine.php \WordLevelDiff::WordLevelDiff()
  3. 6.2 DiffEngine.php \WordLevelDiff::WordLevelDiff()
  4. 6 DiffEngine.php \WordLevelDiff::WordLevelDiff()

File

./DiffEngine.php, line 1013
A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)

Class

WordLevelDiff
@todo document @private @subpackage DifferenceEngine

Code

function WordLevelDiff($orig_lines, $closing_lines) {
  list($orig_words, $orig_stripped) = $this
    ->_split($orig_lines);
  list($closing_words, $closing_stripped) = $this
    ->_split($closing_lines);
  $this
    ->MappedDiff($orig_words, $closing_words, $orig_stripped, $closing_stripped);
}