\MappedDiff
Computes diff between sequences of strings.
Synopsis
class MappedDiff
extends Diff
{
- // Inherited members from Diff
- public static $html_cleaner_class;
- public $edits;
- // methods
- public void MappedDiff()
- // Inherited methods from Diff
- public void Diff()
- public reverse()
- public bool isEmpty()
- public int lcs()
- public array orig()
- public array finaltext()
- public void _check()
- public static void cleanHTML()
- public static String compareHTML()
- public static void getHTMLChunks()
Hierarchy
Extends
Members
public
- $edits
- $html_cleaner_class
Methods
public
- MappedDiff() — Constructor.
Inherited from Diff
public
- Diff() — Constructor.
- _check() — Check a Diff for validity.
- cleanHTML() — Attempt to clean invalid HTML, which messes up diffs.
- compareHTML()
- finaltext() — Get the final set of lines.
- getHTMLChunks()
- isEmpty() — Check for empty diff.
- lcs() — Compute the length of the Longest Common Subsequence (LCS).
- orig() — Get the original set of lines.
- reverse() — Compute reversed Diff.