Comments: on this page. Click to read or post your own.
Class representing a 'diff' between two sequences of strings.
Located in /cms/code/Diff.php (line 530)
| Class | Description |
|---|---|
| MappedDiff | Computes diff between sequences of strings. |
Constructor.
Computes diff between sequences of strings.
Get the final set of lines.
This reconstructs the $to_lines parameter passed to the constructor.
Check for empty diff.
Compute the length of the Longest Common Subsequence (LCS).
This is mostly for diagnostic purposed.
Get the original set of lines.
This reconstructs the $from_lines parameter passed to the constructor.
Compute reversed Diff.
SYNOPSIS:
$diff = new Diff($lines1, $lines2); $rev = $diff->reverse();
Check a Diff for validity.
This is here only for debugging purposes.
Documentation generated on Tue, 07 Oct 2008 15:56:29 +1300 by phpDocumentor 1.3.2