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)  

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

Public Member Functions

 UnifiedDiffFormatter ($context_lines=4)
 
 _block_header ($xbeg, $xlen, $ybeg, $ylen)
 
 _added ($lines)
 
 _deleted ($lines)
 
 _changed ($orig, $final)
 
- Public Member Functions inherited from DiffFormatter
 format ($diff)
 
 _block ($xbeg, $xlen, $ybeg, $ylen, &$edits)
 
 _start_diff ()
 
 _end_diff ()
 
 _start_block ($header)
 
 _end_block ()
 
 _lines ($lines, $prefix=' ')
 
 _context ($lines)
 

Additional Inherited Members

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

Detailed Description

"Unified" diff formatter.

This class formats the diff in classic "unified diff" format.

Definition at line 942 of file DifferenceEngine.php.

Member Function Documentation

◆ _added()

UnifiedDiffFormatter::_added (   $lines)

Reimplemented from DiffFormatter.

Definition at line 957 of file DifferenceEngine.php.

References DiffFormatter\_lines().

Referenced by _changed().

◆ _block_header()

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

Reimplemented from DiffFormatter.

Definition at line 949 of file DifferenceEngine.php.

◆ _changed()

UnifiedDiffFormatter::_changed (   $orig,
  $final 
)

Reimplemented from DiffFormatter.

Definition at line 963 of file DifferenceEngine.php.

References _added(), and _deleted().

◆ _deleted()

UnifiedDiffFormatter::_deleted (   $lines)

Reimplemented from DiffFormatter.

Definition at line 960 of file DifferenceEngine.php.

References DiffFormatter\_lines().

Referenced by _changed().

◆ UnifiedDiffFormatter()

UnifiedDiffFormatter::UnifiedDiffFormatter (   $context_lines = 4)

Definition at line 944 of file DifferenceEngine.php.


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