Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

MappedDiff Class Reference

Inheritance diagram for MappedDiff:

Inheritance graph
[legend]
Collaboration diagram for MappedDiff:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MappedDiff ($from_lines, $to_lines, $mapped_from_lines, $mapped_to_lines)

Detailed Description

FIXME: bad name.

Definition at line 803 of file DifferenceEngine.php.


Constructor & Destructor Documentation

MappedDiff::MappedDiff from_lines,
to_lines,
mapped_from_lines,
mapped_to_lines
 

Constructor.

Computes diff between sequences of strings.

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

Parameters:
$from_lines array An array of strings. (Typically these are lines from a file.)
$to_lines array An array of strings.
$mapped_from_lines array 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.
$mapped_to_lines array This array should have the same number of elements as $to_lines.

Definition at line 829 of file DifferenceEngine.php.

References $i.


The documentation for this class was generated from the following file:
Generated on Tue Jun 29 23:40:49 2004 for Mediawiki by doxygen 1.3.7