MediaWiki
1.34.0
DiffOpDelete.php
Go to the documentation of this file.
1
<?php
2
35
class
DiffOpDelete
extends
DiffOp
{
36
public
$type
=
'delete'
;
37
38
public
function
__construct
(
$lines
) {
39
$this->orig =
$lines
;
40
$this->closing =
false
;
41
}
42
46
public
function
reverse
() {
47
return
new
DiffOpAdd
( $this->orig );
48
}
49
}
DiffOp
The base class for all other DiffOp classes.
Definition:
DiffOp.php:37
DiffOpDelete
Extends DiffOp.
Definition:
DiffOpDelete.php:35
DiffOpDelete\reverse
reverse()
Definition:
DiffOpDelete.php:46
DiffOpAdd
Extends DiffOp.
Definition:
DiffOpAdd.php:35
$lines
$lines
Definition:
router.php:61
DiffOpDelete\$type
$type
Definition:
DiffOpDelete.php:36
DiffOpDelete\__construct
__construct( $lines)
Definition:
DiffOpDelete.php:38
includes
diff
DiffOpDelete.php
Generated on Thu Dec 19 2019 14:54:16 for MediaWiki by
1.8.16