MediaWiki
REL1_37
DiffOpDelete.php
Go to the documentation of this file.
1
<?php
2
35
class
DiffOpDelete
extends
DiffOp
{
37
public
$type
=
'delete'
;
38
42
public
function
__construct
(
$lines
) {
43
$this->orig =
$lines
;
44
$this->closing =
false
;
45
}
46
50
public
function
reverse
() {
51
return
new
DiffOpAdd
( $this->orig );
52
}
53
}
DiffOpAdd
Extends DiffOp.
Definition
DiffOpAdd.php:35
DiffOpDelete
Extends DiffOp.
Definition
DiffOpDelete.php:35
DiffOpDelete\reverse
reverse()
Definition
DiffOpDelete.php:50
DiffOpDelete\$type
$type
Definition
DiffOpDelete.php:37
DiffOpDelete\__construct
__construct( $lines)
Definition
DiffOpDelete.php:42
DiffOp
The base class for all other DiffOp classes.
Definition
DiffOp.php:37
$lines
if(!file_exists( $CREDITS)) $lines
Definition
updateCredits.php:45
includes
diff
DiffOpDelete.php
Generated on Fri Apr 5 2024 23:40:11 for MediaWiki by
1.9.8