MediaWiki  1.34.0
DiffOpDelete Class Reference

Extends DiffOp. More...

Inheritance diagram for DiffOpDelete:
Collaboration diagram for DiffOpDelete:

Public Member Functions

 __construct ( $lines)
 
 reverse ()
 
- Public Member Functions inherited from DiffOp
 getClosing ( $i=null)
 
 getOrig ()
 
 getType ()
 
 nclosing ()
 
 norig ()
 

Public Attributes

 $type = 'delete'
 
- Public Attributes inherited from DiffOp
string[] false $closing
 
string[] false $orig
 
string $type
 

Detailed Description

Extends DiffOp.

Used to mark strings that have been deleted from the first string array.

Access:\n private

Definition at line 35 of file DiffOpDelete.php.

Constructor & Destructor Documentation

◆ __construct()

DiffOpDelete::__construct (   $lines)

Definition at line 38 of file DiffOpDelete.php.

References $lines.

Member Function Documentation

◆ reverse()

DiffOpDelete::reverse ( )
Returns
DiffOpAdd

Reimplemented from DiffOp.

Definition at line 46 of file DiffOpDelete.php.

Member Data Documentation

◆ $type

DiffOpDelete::$type = 'delete'

Definition at line 36 of file DiffOpDelete.php.


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