MediaWiki  REL1_19
TableDiffFormatter Class Reference

Wikipedia Table style diff formatter. More...

Inheritance diagram for TableDiffFormatter:
Collaboration diagram for TableDiffFormatter:

List of all members.

Public Member Functions

 __construct ()
 _added ($lines)
 _block_header ($xbeg, $xlen, $ybeg, $ylen)
 _changed ($orig, $closing)
 _context ($lines)
 _deleted ($lines)
 _end_block ()
 _lines ($lines, $prefix= ' ', $color= 'white')
 _start_block ($header)
 addedLine ($line)
 HTML-escape parameter before calling this.
 contextLine ($line)
 HTML-escape parameter before calling this.
 deletedLine ($line)
 HTML-escape parameter before calling this.
 emptyLine ()

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 1326 of file DairikiDiff.php.


Constructor & Destructor Documentation

Definition at line 1327 of file DairikiDiff.php.


Member Function Documentation

Parameters:
$linesarray

Reimplemented from DiffFormatter.

Definition at line 1421 of file DairikiDiff.php.

References $lines, addedLine(), echo, and emptyLine().

Here is the call graph for this function:

TableDiffFormatter::_block_header ( xbeg,
xlen,
ybeg,
ylen 
)
Parameters:
$xbeg
$xlen
$ybeg
$ylen
Returns:
string

Reimplemented from DiffFormatter.

Definition at line 1351 of file DairikiDiff.php.

TableDiffFormatter::_changed ( orig,
closing 
)
Parameters:
$orig
$closing

Reimplemented from DiffFormatter.

Definition at line 1455 of file DairikiDiff.php.

References addedLine(), deletedLine(), echo, emptyLine(), wfProfileIn(), and wfProfileOut().

Here is the call graph for this function:

Parameters:
$lines

Reimplemented from DiffFormatter.

Definition at line 1443 of file DairikiDiff.php.

References $lines, contextLine(), and echo.

Here is the call graph for this function:

Parameters:
$lines

Reimplemented from DiffFormatter.

Definition at line 1432 of file DairikiDiff.php.

References $lines, deletedLine(), echo, and emptyLine().

Here is the call graph for this function:

Reimplemented from DiffFormatter.

Definition at line 1364 of file DairikiDiff.php.

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

Definition at line 1367 of file DairikiDiff.php.

Parameters:
$header

Reimplemented from DiffFormatter.

Definition at line 1360 of file DairikiDiff.php.

References echo.

HTML-escape parameter before calling this.

Parameters:
$line
Returns:
string

Definition at line 1375 of file DairikiDiff.php.

References wrapLine().

Referenced by _added(), and _changed().

Here is the call graph for this function:

Here is the caller graph for this function:

HTML-escape parameter before calling this.

Parameters:
$line
Returns:
string

Definition at line 1393 of file DairikiDiff.php.

References wrapLine().

Referenced by _context().

Here is the call graph for this function:

Here is the caller graph for this function:

HTML-escape parameter before calling this.

Parameters:
$line
Returns:
string

Definition at line 1384 of file DairikiDiff.php.

References wrapLine().

Referenced by _changed(), and _deleted().

Here is the call graph for this function:

Here is the caller graph for this function:

Returns:
string

Definition at line 1414 of file DairikiDiff.php.

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

Here is the caller graph for this function:

static TableDiffFormatter::escapeWhiteSpace ( msg) [static]
Parameters:
$msg
Returns:
mixed

Definition at line 1337 of file DairikiDiff.php.

Referenced by wrapLine().

Here is the caller graph for this function:

TableDiffFormatter::wrapLine ( marker,
class,
line 
) [private]
Parameters:
$marker
$class
$line
Returns:
string

Definition at line 1403 of file DairikiDiff.php.

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

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

Here is the call graph for this function:

Here is the caller graph for this function:


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