MediaWiki REL1_28
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[] $closing
string[] $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 106 of file DairikiDiff.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 109 of file DairikiDiff.php.

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

Member Function Documentation

◆ reverse()

DiffOpCopy::reverse ( )

Reimplemented from DiffOp.

Definition at line 120 of file DairikiDiff.php.

Member Data Documentation

◆ $type

DiffOpCopy::$type = 'copy'

Definition at line 107 of file DairikiDiff.php.

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