Text_Diff
[ class tree: Text_Diff ] [ index: Text_Diff ] [ all elements ]

Class: Text_Diff3

Source Location: /Text_Diff-0.0.2/Diff3.php

Class Overview

Text_Diff
   |
   --Text_Diff3

A class for computing three way diffs.


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: Text_Diff

Text_Diff::Text_Diff()
Computes diff between sequences of strings.
( )
Get the final set of lines.
Text_Diff::getDiff()
Return the array of differences.
Text_Diff::isEmpty()
Check for empty diff.
Text_Diff::lcs()
Compute the length of the Longest Common Subsequence (LCS).
Text_Diff::orig()
Get the original set of lines.
Text_Diff::reverse()
Compute reversed diff.

Class Details

[line 13]
A class for computing three way diffs.

$Horde: framework/Text_Diff/Diff3.php,v 1.1 2004/03/19 18:53:11 chuck Exp $



[ Top ]


Method Detail

Text_Diff3 (Constructor)   [line 29]

Text_Diff3 Text_Diff3( array $orig, array $final1, array $final2)

Computes diff between 3 sequences of strings.

Parameters:

array   $orig   —  The original lines to use.
array   $final1   —  The first version to compare to.
array   $final2   —  The second version to compare to.

[ Top ]

mergedOutput   [line 41]

void mergedOutput( [ $label1 = false], [ $label2 = false])


Parameters:

   $label1   — 
   $label2   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 10:15:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.