MediaWiki  master
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 ()
 
 reverse ()
 

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:
private

Definition at line 35 of file DiffOpChange.php.

Constructor & Destructor Documentation

◆ __construct()

DiffOpChange::__construct (   $orig,
  $closing 
)

Definition at line 38 of file DiffOpChange.php.

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

Member Function Documentation

◆ reverse()

DiffOpChange::reverse ( )
Returns
DiffOpChange

Definition at line 46 of file DiffOpChange.php.

Member Data Documentation

◆ $type

DiffOpChange::$type = 'change'

Definition at line 36 of file DiffOpChange.php.


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