ona  18.1.1
About: OpenNetAdmin provides a database managed inventory of your IP network (with Web and CLI interface).
  Fossies Dox: ona-18.1.1.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

TableDiffFormatter Class Reference
Inheritance diagram for TableDiffFormatter:
[legend]
Collaboration diagram for TableDiffFormatter:
[legend]

Public Member Functions

 TableDiffFormatter ()
 
 _pre ($text)
 
 _block_header ( $xbeg, $xlen, $ybeg, $ylen)
 
 _start_block ( $header)
 
 _end_block ()
 
 _lines ( $lines, $prefix=' ', $color="white")
 
 addedLine ( $line)
 
 deletedLine ( $line)
 
 emptyLine ()
 
 contextLine ( $line)
 
 _added ($lines)
 
 _deleted ($lines)
 
 _context ( $lines)
 
 _changed ( $orig, $closing)
 
- Public Member Functions inherited from DiffFormatter
 format ($diff)
 
 _block ($xbeg, $xlen, $ybeg, $ylen, &$edits)
 
 _start_diff ()
 
 _end_diff ()
 
 _lines ($lines, $prefix=' ')
 

Additional Inherited Members

- Public Attributes inherited from DiffFormatter
 $leading_context_lines = 0
 
 $trailing_context_lines = 0
 

Detailed Description

Wikipedia Table style diff formatter.

Definition at line 973 of file DifferenceEngine.php.

Member Function Documentation

◆ _added()

TableDiffFormatter::_added (   $lines)

Reimplemented from DiffFormatter.

Definition at line 1027 of file DifferenceEngine.php.

References addedLine(), and emptyLine().

Referenced by _changed().

◆ _block_header()

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

Reimplemented from DiffFormatter.

Definition at line 986 of file DifferenceEngine.php.

◆ _changed()

TableDiffFormatter::_changed (   $orig,
  $closing 
)

Reimplemented from DiffFormatter.

Definition at line 1048 of file DifferenceEngine.php.

References _added(), addedLine(), and deletedLine().

◆ _context()

TableDiffFormatter::_context (   $lines)

Reimplemented from DiffFormatter.

Definition at line 1041 of file DifferenceEngine.php.

References contextLine().

◆ _deleted()

TableDiffFormatter::_deleted (   $lines)

Reimplemented from DiffFormatter.

Definition at line 1034 of file DifferenceEngine.php.

References deletedLine(), and emptyLine().

◆ _end_block()

TableDiffFormatter::_end_block ( )

Reimplemented from DiffFormatter.

Definition at line 999 of file DifferenceEngine.php.

◆ _lines()

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

Definition at line 1002 of file DifferenceEngine.php.

◆ _pre()

TableDiffFormatter::_pre (   $text)

Definition at line 980 of file DifferenceEngine.php.

References $text.

◆ _start_block()

TableDiffFormatter::_start_block (   $header)

Reimplemented from DiffFormatter.

Definition at line 995 of file DifferenceEngine.php.

◆ addedLine()

TableDiffFormatter::addedLine (   $line)

Definition at line 1005 of file DifferenceEngine.php.

Referenced by _added(), and _changed().

◆ contextLine()

TableDiffFormatter::contextLine (   $line)

Definition at line 1022 of file DifferenceEngine.php.

Referenced by _context().

◆ deletedLine()

TableDiffFormatter::deletedLine (   $line)

Definition at line 1011 of file DifferenceEngine.php.

Referenced by _changed(), and _deleted().

◆ emptyLine()

TableDiffFormatter::emptyLine ( )

Definition at line 1017 of file DifferenceEngine.php.

Referenced by _added(), and _deleted().

◆ TableDiffFormatter()

TableDiffFormatter::TableDiffFormatter ( )

Definition at line 975 of file DifferenceEngine.php.


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