MediaWiki  master
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.

Definition at line 35 of file DiffOpCopy.php.

Constructor & Destructor Documentation

◆ __construct()

DiffOpCopy::__construct (   $orig,
  $closing = false 
string[] | false$orig
string[] | false$closing

Definition at line 43 of file DiffOpCopy.php.

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

Member Function Documentation

◆ reverse()

DiffOpCopy::reverse ( )

Reimplemented from DiffOp.

Definition at line 54 of file DiffOpCopy.php.

Member Data Documentation

◆ $type

DiffOpCopy::$type = 'copy'

Definition at line 37 of file DiffOpCopy.php.

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