eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZDiffTextEngine

class eZDiffTextEngine extends eZDiffEngine

Properties

$DiffMode

Methods

createDifferenceObject($fromData, $toData)

eZDiffTextEngine()

createOutput($arr, $oldArray, $newArray)

addNewLine($text)

preProcess($oldArray, $newArray)

buildDiff($oldArray, $newArray)

postProcessDiff($diffArray)

substrings($sub, $old, $new)

localSubstring($direction, $row, $col, $rows, $cols, $matrix)

traceSubstring($row, $col, $matrix, $val, $new)

substringPlacement($startOffset, $endOffset, $totalStringLength)

dumpMatrix($arr, $rows, $cols)

findLongestSubstringOffsets($varArray)

substringMatrix($old, $new)

trimEmptyArrayElements($array)

Details

at line 30
public createDifferenceObject($fromData, $toData)

Parameters

$fromData
$toData

at line 22
public eZDiffTextEngine()

at line 72
public createOutput($arr, $oldArray, $newArray)

Parameters

$arr
$oldArray
$newArray

at line 175
public addNewLine($text)

Parameters

$text

at line 183
public preProcess($oldArray, $newArray)

Parameters

$oldArray
$newArray

at line 307
public buildDiff($oldArray, $newArray)

Parameters

$oldArray
$newArray

at line 396
public postProcessDiff($diffArray)

Parameters

$diffArray

at line 436
public substrings($sub, $old, $new)

Parameters

$sub
$old
$new

at line 591
public localSubstring($direction, $row, $col, $rows, $cols, $matrix)

Parameters

$direction
$row
$col
$rows
$cols
$matrix

at line 693
public traceSubstring($row, $col, $matrix, $val, $new)

Parameters

$row
$col
$matrix
$val
$new

at line 729
public substringPlacement($startOffset, $endOffset, $totalStringLength)

Parameters

$startOffset
$endOffset
$totalStringLength

at line 748
public dumpMatrix($arr, $rows, $cols)

Parameters

$arr
$rows
$cols

at line 766
public findLongestSubstringOffsets($varArray)

Parameters

$varArray

at line 818
public substringMatrix($old, $new)

Parameters

$old
$new

at line 878
public trimEmptyArrayElements($array)

Parameters

$array