MediaWiki REL1_35
|
Stores, escapes and formats the results of word-level diff. 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 = '' | |
Stores, escapes and formats the results of word-level diff.
Definition at line 34 of file WordAccumulator.php.
MediaWiki\Diff\WordAccumulator::addWords | ( | $words, | |
$tag = '' |
|||
) |
string[] | $words | |
string | $tag |
Definition at line 78 of file WordAccumulator.php.
References MediaWiki\Diff\WordAccumulator\$tag, MediaWiki\Diff\WordAccumulator\flushGroup(), and MediaWiki\Diff\WordAccumulator\flushLine().
Referenced by WordLevelDiff\closing(), and WordLevelDiff\orig().
|
private |
string | $new_tag |
Definition at line 46 of file WordAccumulator.php.
Referenced by MediaWiki\Diff\WordAccumulator\addWords(), and MediaWiki\Diff\WordAccumulator\flushLine().
|
private |
string | $new_tag |
Definition at line 63 of file WordAccumulator.php.
References MediaWiki\Diff\WordAccumulator\flushGroup().
Referenced by MediaWiki\Diff\WordAccumulator\addWords(), and MediaWiki\Diff\WordAccumulator\getLines().
MediaWiki\Diff\WordAccumulator::getLines | ( | ) |
Definition at line 102 of file WordAccumulator.php.
References MediaWiki\Diff\WordAccumulator\$lines, and MediaWiki\Diff\WordAccumulator\flushLine().
MediaWiki\Diff\WordAccumulator::$delClass = ' class="diffchange diffchange-inline"' |
Definition at line 36 of file WordAccumulator.php.
|
private |
Definition at line 40 of file WordAccumulator.php.
MediaWiki\Diff\WordAccumulator::$insClass = ' class="diffchange diffchange-inline"' |
Definition at line 35 of file WordAccumulator.php.
|
private |
Definition at line 39 of file WordAccumulator.php.
|
private |
Definition at line 38 of file WordAccumulator.php.
Referenced by MediaWiki\Diff\WordAccumulator\getLines().
|
private |
Definition at line 41 of file WordAccumulator.php.
Referenced by MediaWiki\Diff\WordAccumulator\addWords().