MediaWiki REL1_35
DiffOp Class Reference

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

Inheritance diagram for DiffOp:

Public Member Functions

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

Public Attributes

string[] false $closing
 
string[] false $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.

Definition at line 37 of file DiffOp.php.

Member Function Documentation

◆ getClosing()

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

Definition at line 72 of file DiffOp.php.

References $closing.

◆ getOrig()

DiffOp::getOrig ( )
Returns
string[]

Definition at line 64 of file DiffOp.php.

References $orig.

◆ getType()

DiffOp::getType ( )
Returns
string

Definition at line 57 of file DiffOp.php.

References $type.

◆ nclosing()

DiffOp::nclosing ( )
Returns
int

Definition at line 94 of file DiffOp.php.

◆ norig()

DiffOp::norig ( )
Returns
int

Definition at line 87 of file DiffOp.php.

◆ reverse()

DiffOp::reverse ( )
abstract

Reimplemented in DiffOpAdd, DiffOpChange, DiffOpCopy, and DiffOpDelete.

Member Data Documentation

◆ $closing

string [] false DiffOp::$closing

Definition at line 52 of file DiffOp.php.

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

◆ $orig

string [] false DiffOp::$orig

Definition at line 47 of file DiffOp.php.

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

◆ $type

string DiffOp::$type

Definition at line 42 of file DiffOp.php.

Referenced by getType().


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