MediaWiki  1.23.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 = array()
 
 $tag = ''
 

Detailed Description

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

Todo:
document
Access:\n private

Definition at line 890 of file DairikiDiff.php.

Member Function Documentation

◆ addWords()

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

Definition at line 936 of file DairikiDiff.php.

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

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

◆ flushGroup()

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

Definition at line 902 of file DairikiDiff.php.

References line.

Referenced by addWords(), and flushLine().

◆ flushLine()

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

Definition at line 921 of file DairikiDiff.php.

References flushGroup(), and line.

Referenced by addWords(), and getLines().

◆ getLines()

HWLDFWordAccumulator::getLines ( )
Returns
string[]

Definition at line 958 of file DairikiDiff.php.

References $lines, and flushLine().

Member Data Documentation

◆ $delClass

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

Definition at line 892 of file DairikiDiff.php.

◆ $group

HWLDFWordAccumulator::$group = ''
private

Definition at line 896 of file DairikiDiff.php.

◆ $insClass

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

Definition at line 891 of file DairikiDiff.php.

◆ $line

HWLDFWordAccumulator::$line = ''
private

Definition at line 895 of file DairikiDiff.php.

◆ $lines

HWLDFWordAccumulator::$lines = array()
private

Definition at line 894 of file DairikiDiff.php.

Referenced by getLines().

◆ $tag

HWLDFWordAccumulator::$tag = ''
private

Definition at line 897 of file DairikiDiff.php.

Referenced by addWords().


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