Class Text_MappedDiff

Description

$Horde: framework/Text_Diff/Diff.php,v 1.17 2006/02/06 00:16:09 jan Exp $

Located in /sources/diff.php (line 276)

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 294)

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::trimNewlines()
Text_Diff::_check()

Documentation generated on Sun, 02 Jan 2011 23:13:07 +0000 by phpDocumentor 1.4.3