MediaWiki  1.28.0
DiffOp Class Reference

The base class for all other DiffOp classes. More...

Inheritance diagram for DiffOp:
Collaboration diagram for DiffOp:

Public Member Functions

 getClosing ($i=null)
 
 getOrig ()
 
 getType ()
 
 nclosing ()
 
 norig ()
 
 reverse ()
 

Public Attributes

string[] $closing
 
string[] $orig
 
string $type
 

Detailed Description

The base class for all other DiffOp classes.

The classes that extend DiffOp are: DiffOpCopy, DiffOpDelete, DiffOpAdd and DiffOpChange. FakeDiffOp also extends DiffOp, but it is not located in this file.

Access:
private

Definition at line 37 of file DairikiDiff.php.

Member Function Documentation

DiffOp::getClosing (   $i = null)
Parameters
int$i
Returns
string|null

Definition at line 72 of file DairikiDiff.php.

References $closing.

DiffOp::getOrig ( )
Returns
string[]

Definition at line 64 of file DairikiDiff.php.

References $orig.

DiffOp::getType ( )
Returns
string

Definition at line 57 of file DairikiDiff.php.

References $type.

DiffOp::nclosing ( )
Returns
int

Definition at line 94 of file DairikiDiff.php.

DiffOp::norig ( )
Returns
int

Definition at line 87 of file DairikiDiff.php.

DiffOp::reverse ( )
abstract

Member Data Documentation

string [] DiffOp::$closing

Definition at line 52 of file DairikiDiff.php.

Referenced by DiffOpCopy\__construct(), DiffOpChange\__construct(), and getClosing().

string [] DiffOp::$orig

Definition at line 47 of file DairikiDiff.php.

Referenced by DiffOpCopy\__construct(), DiffOpChange\__construct(), and getOrig().

string DiffOp::$type

Definition at line 42 of file DairikiDiff.php.

Referenced by getType().


The documentation for this class was generated from the following file: