MediaWiki  1.27.2
HWLDFWordAccumulator Class Reference

Additions by Axel Boldt follow, partly taken from diff.php, phpwiki-1.3.3. More...

Public Member Functions

 addWords ($words, $tag= '')
 
 getLines ()
 

Public Attributes

 $delClass = ' class="diffchange diffchange-inline"'
 
 $insClass = ' class="diffchange diffchange-inline"'
 

Private Member Functions

 flushGroup ($new_tag)
 
 flushLine ($new_tag)
 

Private Attributes

 $group = ''
 
 $line = ''
 
 $lines = []
 
 $tag = ''
 

Detailed Description

Additions by Axel Boldt follow, partly taken from diff.php, phpwiki-1.3.3.

Todo:
document
Access:
private

Definition at line 622 of file DairikiDiff.php.

Member Function Documentation

HWLDFWordAccumulator::addWords (   $words,
  $tag = '' 
)
Parameters
string[]$words
string$tag

Definition at line 668 of file DairikiDiff.php.

References $tag, as, flushGroup(), and flushLine().

Referenced by WordLevelDiff\closing(), and WordLevelDiff\orig().

HWLDFWordAccumulator::flushGroup (   $new_tag)
private
Parameters
string$new_tag

Definition at line 634 of file DairikiDiff.php.

References line.

Referenced by addWords(), and flushLine().

HWLDFWordAccumulator::flushLine (   $new_tag)
private
Parameters
string$new_tag

Definition at line 653 of file DairikiDiff.php.

References flushGroup(), and line.

Referenced by addWords(), and getLines().

HWLDFWordAccumulator::getLines ( )
Returns
string[]

Definition at line 690 of file DairikiDiff.php.

References $lines, and flushLine().

Member Data Documentation

HWLDFWordAccumulator::$delClass = ' class="diffchange diffchange-inline"'

Definition at line 624 of file DairikiDiff.php.

HWLDFWordAccumulator::$group = ''
private

Definition at line 628 of file DairikiDiff.php.

HWLDFWordAccumulator::$insClass = ' class="diffchange diffchange-inline"'

Definition at line 623 of file DairikiDiff.php.

HWLDFWordAccumulator::$line = ''
private

Definition at line 627 of file DairikiDiff.php.

HWLDFWordAccumulator::$lines = []
private

Definition at line 626 of file DairikiDiff.php.

Referenced by getLines().

HWLDFWordAccumulator::$tag = ''
private

Definition at line 629 of file DairikiDiff.php.

Referenced by addWords().


The documentation for this class was generated from the following file: