MediaWiki REL1_34
DiffOpCopy Class Reference

Extends DiffOp. More...

Inheritance diagram for DiffOpCopy:
Collaboration diagram for DiffOpCopy:

Public Member Functions

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

Public Attributes

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

Detailed Description

Extends DiffOp.

Used to mark strings that have been copied from one string array to the other.

Access:\n private

Definition at line 35 of file DiffOpCopy.php.

Constructor & Destructor Documentation

◆ __construct()

DiffOpCopy::__construct (   $orig,
  $closing = false 
)

Definition at line 38 of file DiffOpCopy.php.

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

Member Function Documentation

◆ reverse()

DiffOpCopy::reverse ( )
Returns
DiffOpCopy

Reimplemented from DiffOp.

Definition at line 49 of file DiffOpCopy.php.

Member Data Documentation

◆ $type

DiffOpCopy::$type = 'copy'

Definition at line 36 of file DiffOpCopy.php.


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