MediaWiki
REL1_34
DiffOpChange.php
Go to the documentation of this file.
1
<?php
2
35
class
DiffOpChange
extends
DiffOp
{
36
public
$type
=
'change'
;
37
38
public
function
__construct
(
$orig
,
$closing
) {
39
$this->orig =
$orig
;
40
$this->closing =
$closing
;
41
}
42
46
public
function
reverse
() {
47
return
new
DiffOpChange
( $this->closing, $this->orig );
48
}
49
}
DiffOpChange
Extends DiffOp.
Definition
DiffOpChange.php:35
DiffOpChange\reverse
reverse()
Definition
DiffOpChange.php:46
DiffOpChange\__construct
__construct( $orig, $closing)
Definition
DiffOpChange.php:38
DiffOpChange\$type
$type
Definition
DiffOpChange.php:36
DiffOp
The base class for all other DiffOp classes.
Definition
DiffOp.php:37
DiffOp\$orig
string[] false $orig
Definition
DiffOp.php:47
DiffOp\$closing
string[] false $closing
Definition
DiffOp.php:52
includes
diff
DiffOpChange.php
Generated on Fri Apr 5 2024 23:09:50 for MediaWiki by
1.9.8