class _DiffOp_Copy in Diff 5.2
Same name and namespace in other branches
- 5 DiffEngine.php \_DiffOp_Copy
- 6.2 DiffEngine.php \_DiffOp_Copy
- 6 DiffEngine.php \_DiffOp_Copy
- 7.3 DiffEngine.php \_DiffOp_Copy
- 7.2 DiffEngine.php \_DiffOp_Copy
@todo document @private @subpackage DifferenceEngine
Hierarchy
- class \_DiffOp
- class \_DiffOp_Copy
Expanded class hierarchy of _DiffOp_Copy
File
- ./
DiffEngine.php, line 39
View source
class _DiffOp_Copy extends _DiffOp {
var $type = 'copy';
function _DiffOp_Copy($orig, $closing = false) {
if (!is_array($closing)) {
$closing = $orig;
}
$this->orig = $orig;
$this->closing = $closing;
}
function reverse() {
return new _DiffOp_Copy($this->closing, $this->orig);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
_DiffOp:: |
property | |||
_DiffOp:: |
property | |||
_DiffOp:: |
function | |||
_DiffOp:: |
function | |||
_DiffOp_Copy:: |
property |
Overrides _DiffOp:: |
||
_DiffOp_Copy:: |
function |
Overrides _DiffOp:: |
||
_DiffOp_Copy:: |
function |