MediaWiki REL1_40
|
Inherits DiffOp.
Public Member Functions | |
__construct ( $lines) | |
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 = 'add' | |
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 added from the first string array.
Definition at line 35 of file DiffOpAdd.php.
DiffOpAdd::__construct | ( | $lines | ) |
DiffOpAdd::reverse | ( | ) |
DiffOpAdd::$type = 'add' |
Definition at line 37 of file DiffOpAdd.php.