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

Class: Text_Diff3

Source Location: /Text_Diff-0.1.0/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 diffs between sequences of strings.
Text_Diff::getDiff()
Returns the array of differences.
Text_Diff::getFinal()
Gets the final set of lines.
Text_Diff::getOriginal()
Gets the original set of lines.
Text_Diff::isEmpty()
Checks for an empty diff.
Text_Diff::lcs()
Computes the length of the Longest Common Subsequence (LCS).
Text_Diff::reverse()
Computes a reversed diff.

Class Details

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

$Horde: framework/Text_Diff/Diff3.php,v 1.3 2005/06/23 19:40:18 selsky 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 14:16:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.