[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/diff/ -> TableDiffFormatter.php (summary)

Portions taken from phpwiki-1.3.3. Copyright © 2000, 2001 Geoffrey T. Dairiki <[email protected]> You may copy this code freely under the conditions of the GPL.

File Size: 214 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TableDiffFormatter:: (15 methods):
  __construct()
  escapeWhiteSpace()
  blockHeader()
  startBlock()
  endBlock()
  lines()
  addedLine()
  deletedLine()
  contextLine()
  wrapLine()
  emptyLine()
  added()
  deleted()
  context()
  changed()


Class: TableDiffFormatter  - X-Ref

MediaWiki default table style diff formatter

__construct()   X-Ref
No description

escapeWhiteSpace( $msg )   X-Ref

param: string $msg
return: mixed

blockHeader( $xbeg, $xlen, $ybeg, $ylen )   X-Ref

param: int $xbeg
param: int $xlen
param: int $ybeg
param: int $ylen
return: string

startBlock( $header )   X-Ref
Writes the header to the output buffer.

param: string $header

endBlock()   X-Ref
No description

lines( $lines, $prefix = ' ', $color = 'white' )   X-Ref

param: string[] $lines
param: string $prefix
param: string $color

addedLine( $line )   X-Ref
HTML-escape parameter before calling this

param: string $line
return: string

deletedLine( $line )   X-Ref
HTML-escape parameter before calling this

param: string $line
return: string

contextLine( $line )   X-Ref
HTML-escape parameter before calling this

param: string $line
return: string

wrapLine( $marker, $class, $line )   X-Ref

param: string $marker
param: string $class Unused
param: string $line
return: string

emptyLine()   X-Ref

return: string

added( $lines )   X-Ref
Writes all lines to the output buffer, each enclosed in <tr>.

param: string[] $lines

deleted( $lines )   X-Ref
Writes all lines to the output buffer, each enclosed in <tr>.

param: string[] $lines

context( $lines )   X-Ref
Writes all lines to the output buffer, each enclosed in <tr>.

param: string[] $lines

changed( $orig, $closing )   X-Ref
Writes the two sets of lines to the output buffer, each enclosed in <tr>.

param: string[] $orig
param: string[] $closing



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1