MediaWiki REL1_31
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:\n private

Definition at line 37 of file DairikiDiff.php.

Member Function Documentation

◆ getClosing()

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

Definition at line 72 of file DairikiDiff.php.

References $closing.

◆ getOrig()

DiffOp::getOrig ( )
Returns
string[]

Definition at line 64 of file DairikiDiff.php.

References $orig.

◆ getType()

DiffOp::getType ( )
Returns
string

Definition at line 57 of file DairikiDiff.php.

References $type.

◆ nclosing()

DiffOp::nclosing ( )
Returns
int

Definition at line 94 of file DairikiDiff.php.

◆ norig()

DiffOp::norig ( )
Returns
int

Definition at line 87 of file DairikiDiff.php.

◆ reverse()

DiffOp::reverse ( )
abstract

Member Data Documentation

◆ $closing

string [] DiffOp::$closing

Definition at line 52 of file DairikiDiff.php.

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

◆ $orig

string [] DiffOp::$orig

Definition at line 47 of file DairikiDiff.php.

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

◆ $type

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: