TableDiffFormatter Class Reference
[DifferenceEngine]

Wikipedia Table style diff formatter. More...

Inherits DiffFormatter.

List of all members.

Public Member Functions

 TableDiffFormatter ()
 _block_header ($xbeg, $xlen, $ybeg, $ylen)
 _start_block ($header)
 _end_block ()
 _lines ($lines, $prefix=' ', $color='white')
 addedLine ($line)
 deletedLine ($line)
 contextLine ($line)
 emptyLine ()
 _added ($lines)
 _deleted ($lines)
 _context ($lines)
 _changed ($orig, $closing)

Static Public Member Functions

static escapeWhiteSpace ($msg)

Private Member Functions

 wrapLine ($marker, $class, $line)


Detailed Description

Wikipedia Table style diff formatter.

Todo:
document
Access:
private

Definition at line 2072 of file DifferenceEngine.php.


Member Function Documentation

TableDiffFormatter::_added ( lines  ) 

Reimplemented from DiffFormatter.

Definition at line 2128 of file DifferenceEngine.php.

References addedLine(), and emptyLine().

TableDiffFormatter::_block_header ( xbeg,
xlen,
ybeg,
ylen 
)

Reimplemented from DiffFormatter.

Definition at line 2085 of file DifferenceEngine.php.

TableDiffFormatter::_changed ( orig,
closing 
)

Reimplemented from DiffFormatter.

Definition at line 2152 of file DifferenceEngine.php.

References $del, addedLine(), deletedLine(), emptyLine(), wfProfileIn(), and wfProfileOut().

TableDiffFormatter::_context ( lines  ) 

Reimplemented from DiffFormatter.

Definition at line 2144 of file DifferenceEngine.php.

References contextLine().

TableDiffFormatter::_deleted ( lines  ) 

Reimplemented from DiffFormatter.

Definition at line 2136 of file DifferenceEngine.php.

References deletedLine(), and emptyLine().

TableDiffFormatter::_end_block (  ) 

Reimplemented from DiffFormatter.

Definition at line 2095 of file DifferenceEngine.php.

TableDiffFormatter::_lines ( lines,
prefix = ' ',
color = 'white' 
)

Definition at line 2098 of file DifferenceEngine.php.

TableDiffFormatter::_start_block ( header  ) 

Reimplemented from DiffFormatter.

Definition at line 2091 of file DifferenceEngine.php.

TableDiffFormatter::addedLine ( line  ) 

Definition at line 2102 of file DifferenceEngine.php.

References wrapLine().

Referenced by _added(), and _changed().

TableDiffFormatter::contextLine ( line  ) 

Definition at line 2112 of file DifferenceEngine.php.

References wrapLine().

Referenced by _context().

TableDiffFormatter::deletedLine ( line  ) 

Definition at line 2107 of file DifferenceEngine.php.

References wrapLine().

Referenced by _changed(), and _deleted().

TableDiffFormatter::emptyLine (  ) 

Definition at line 2124 of file DifferenceEngine.php.

Referenced by _added(), _changed(), and _deleted().

static TableDiffFormatter::escapeWhiteSpace ( msg  )  [static]

Definition at line 2078 of file DifferenceEngine.php.

References $msg.

Referenced by wrapLine().

TableDiffFormatter::TableDiffFormatter (  ) 

Definition at line 2073 of file DifferenceEngine.php.

TableDiffFormatter::wrapLine ( marker,
class,
line 
) [private]

Definition at line 2116 of file DifferenceEngine.php.

References escapeWhiteSpace(), and Xml::tags().

Referenced by addedLine(), contextLine(), and deletedLine().


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

Generated on Sat Sep 5 02:08:48 2009 for MediaWiki by  doxygen 1.5.9