MediaWiki
REL1_40
DiffOpAdd.php
Go to the documentation of this file.
1
<?php
2
35
class
DiffOpAdd
extends
DiffOp
{
37
public
$type
=
'add'
;
38
42
public
function
__construct
(
$lines
) {
43
$this->closing =
$lines
;
44
$this->orig =
false
;
45
}
46
50
public
function
reverse
() {
51
return
new
DiffOpDelete
( $this->closing );
52
}
53
}
DiffOpAdd
Extends DiffOp.
Definition
DiffOpAdd.php:35
DiffOpAdd\$type
$type
Definition
DiffOpAdd.php:37
DiffOpAdd\__construct
__construct( $lines)
Definition
DiffOpAdd.php:42
DiffOpAdd\reverse
reverse()
Definition
DiffOpAdd.php:50
DiffOpDelete
Extends DiffOp.
Definition
DiffOpDelete.php:35
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
DiffOpAdd.php
Generated on Thu Jun 27 2024 14:02:39 for MediaWiki by
1.10.0