Class Text_MappedDiff

Description

$Horde: framework/Text_Diff/Diff.php,v 1.10 2004/11/01 11:51:15 mdjukic Exp $

Located in /inc/class_diff.php (line 231)

Text_Diff
   |
   --Text_MappedDiff
Method Summary
Text_MappedDiff Text_MappedDiff (array $from_lines, array $to_lines, array $mapped_from_lines, array $mapped_to_lines)
Variables

Inherited Variables

Inherited from Text_Diff

Text_Diff::$_edits
Methods
Constructor Text_MappedDiff (line 249)

Computes a diff between sequences of strings.

This can be used to compute things like case-insensitve diffs, or diffs which ignore changes in white-space.

Text_MappedDiff Text_MappedDiff (array $from_lines, array $to_lines, array $mapped_from_lines, array $mapped_to_lines)
  • array $from_lines: An array of strings.
  • array $to_lines: An array of strings.
  • array $mapped_from_lines: This array should have the same size number of elements as $from_lines. The elements in $mapped_from_lines and $mapped_to_lines are what is actually compared when computing the diff.
  • array $mapped_to_lines: This array should have the same number of elements as $to_lines.

Inherited Methods

Inherited From Text_Diff

Text_Diff::Text_Diff()
Text_Diff::getDiff()
Text_Diff::getFinal()
Text_Diff::getOriginal()
Text_Diff::isEmpty()
Text_Diff::lcs()
Text_Diff::reverse()
Text_Diff::_check()
Text_Diff::_trimNewlines()

Documentation generated on Thu, 31 May 2007 23:33:57 -0400 by phpDocumentor 1.3.2