MediaWiki REL1_37
|
Public Member Functions | |
__construct ( $orig, $closing=false) | |
reverse () | |
Public Member Functions inherited from 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 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 35 of file DiffOpCopy.php.
DiffOpCopy::__construct | ( | $orig, | |
$closing = false |
|||
) |
string[] | $orig | |
string[] | false | $closing | Should either be identical to $orig, or not given |
Definition at line 43 of file DiffOpCopy.php.
References DiffOp\$closing, and DiffOp\$orig.
DiffOpCopy::reverse | ( | ) |
DiffOpCopy::$type = 'copy' |
Definition at line 37 of file DiffOpCopy.php.