|
MediaWiki master
|
Extends DiffOp. More...
Inherits Wikimedia\Diff\DiffOp.

Public Member Functions | |
| __construct ( $orig, $closing=false) | |
| reverse () | |
Public Member Functions inherited from Wikimedia\Diff\DiffOp | |
| getClosing ( $i=null) | |
| Without a line number this returns either all lines on the right ("new") side of the diff, or false when it's a delete operation. | |
| getOrig () | |
| Returns either all lines on the left ("old") side of the diff, or false when it's an add operation. | |
| getType () | |
| nclosing () | |
| norig () | |
Public Attributes | |
| $type = 'copy' | |
Public Attributes inherited from Wikimedia\Diff\DiffOp | |
| string[] false | $closing |
| The right ("new") side of the diff, or false when it's a "delete". | |
| string[] false | $orig |
| The left ("old") side of the diff, or false when it's an "add". | |
| string | $type |
Extends DiffOp.
Used to mark strings that have been copied from one string array to the other.
Definition at line 22 of file DiffOpCopy.php.
| Wikimedia\Diff\DiffOpCopy::__construct | ( | $orig, | |
| $closing = false ) |
| string[] | $orig | |
| string[] | false | $closing | Should either be identical to $orig, or not given |
Definition at line 30 of file DiffOpCopy.php.
References Wikimedia\Diff\DiffOp\$closing, and Wikimedia\Diff\DiffOp\$orig.
| Wikimedia\Diff\DiffOpCopy::reverse | ( | ) |
Reimplemented from Wikimedia\Diff\DiffOp.
Definition at line 41 of file DiffOpCopy.php.
| Wikimedia\Diff\DiffOpCopy::$type = 'copy' |
Definition at line 24 of file DiffOpCopy.php.