MediaWiki REL1_31
DiffOpChange Class Reference

Extends DiffOp. More...

Inheritance diagram for DiffOpChange:
Collaboration diagram for DiffOpChange:

Public Member Functions

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

Public Attributes

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

Detailed Description

Extends DiffOp.

Used to mark strings that have been changed from the first string array (both added and subtracted).

Access:\n private

Definition at line 178 of file DairikiDiff.php.

Constructor & Destructor Documentation

◆ __construct()

DiffOpChange::__construct ( $orig,
$closing )

Definition at line 181 of file DairikiDiff.php.

References DiffOp\$closing, and DiffOp\$orig.

Member Function Documentation

◆ reverse()

DiffOpChange::reverse ( )
Returns
DiffOpChange

Reimplemented from DiffOp.

Definition at line 189 of file DairikiDiff.php.

Member Data Documentation

◆ $type

DiffOpChange::$type = 'change'

Definition at line 179 of file DairikiDiff.php.


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