TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
DiffUtility Class Reference

Public Member Functions

 makeDiffDisplay ($str1, $str2)
 

Public Attributes

 $stripTags = true
 

Detailed Description

This class has functions which generates a difference output of a content string

Definition at line 22 of file DiffUtility.php.

Member Function Documentation

makeDiffDisplay (   $str1,
  $str2 
)

This will produce a color-marked-up diff output in HTML from the input strings.

Parameters
string$str1String 1
string$str2String 2
Returns
string Formatted output.

Definition at line 38 of file DiffUtility.php.

Member Data Documentation

$stripTags = true

Definition at line 29 of file DiffUtility.php.