API documentation :: Docs For Class arbitFrameworkTextDiff
Packages:Interfaces:
Classes:
|
Core::arbitFrameworkTextDiffClass arbitFrameworkTextDiffWrapper around the the diff algorithm class providing diffs of texts, where the diff primarily checks for same paragraphs and performs a word wise diff on paragraphs with changes. Wrapper around the the diff algorithm class providing diffs of texts, where the diff primarily checks for same paragraphs and performs a word wise diff on paragraphs with changes. arbitFrameworkDiff | --arbitFrameworkTextDiffAuthor(s):
Method Summary
Inherited Methods
MethodsgetParagraphDiff
array
getParagraphDiff(
int
$modification
,
$paragraphs
)
Get paragraph diff If there is some modification of paragraphs this function calculates the difference between those paragraphs. token, if there are only completely new or removed paragraphs, or an array of arrays with modifications inside of the paragraphs. Get paragraph diff If there is some modification of paragraphs this function calculates the difference between those paragraphs. It may either return an array of token, if there are only completely new or removed paragraphs, or an array of arrays with modifications inside of the paragraphs. Parameters:
textDiff
array
textDiff(
string
$old
, string
$new
)
Get text diff Get a diff between normal texts, where first the similarity of pragraphs is checked and for different paragraphs or sequences of different paragraphs a word wise diff is calculated. Get text diff Get a diff between normal texts, where first the similarity of pragraphs is checked and for different paragraphs or sequences of different paragraphs a word wise diff is calculated. The returned array contains either of arbitFrameworkDiffToken objects, or arrays with arbitFrameworkDiffToken for the word wise diffs inside of paragraphs. Parameters:
Documentation generated on Mon, 05 Apr 2010 14:02:19 +0200 by phpDocumentor 1.4.3
|
||||||||||||||||||||||||||||||||||