class _DiffOp_Add in Diff 7.3
Same name and namespace in other branches
- 5.2 DiffEngine.php \_DiffOp_Add
- 5 DiffEngine.php \_DiffOp_Add
- 6.2 DiffEngine.php \_DiffOp_Add
- 6 DiffEngine.php \_DiffOp_Add
- 7.2 DiffEngine.php \_DiffOp_Add
@todo document @private @subpackage DifferenceEngine
Hierarchy
- class \_DiffOp
- class \_DiffOp_Add
Expanded class hierarchy of _DiffOp_Add
File
- ./
DiffEngine.php, line 80 - A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)
View source
class _DiffOp_Add extends _DiffOp {
var $type = 'add';
function __construct($lines) {
$this->closing = $lines;
$this->orig = FALSE;
}
function reverse() {
return new _DiffOp_Delete($this->closing);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
_DiffOp:: |
property | |||
_DiffOp:: |
property | |||
_DiffOp:: |
function | |||
_DiffOp:: |
function | |||
_DiffOp_Add:: |
property |
Overrides _DiffOp:: |
||
_DiffOp_Add:: |
function |
Overrides _DiffOp:: |
||
_DiffOp_Add:: |
function |