MediaWiki  1.28.0
DiffOpAdd Class Reference

Extends DiffOp. More...

Inheritance diagram for DiffOpAdd:
Collaboration diagram for DiffOpAdd:

Public Member Functions

 __construct ($lines)
 
 reverse ()
 
- Public Member Functions inherited from DiffOp
 getClosing ($i=null)
 
 getOrig ()
 
 getType ()
 
 nclosing ()
 
 norig ()
 
 reverse ()
 

Public Attributes

 $type = 'add'
 
- Public Attributes inherited from DiffOp
string[] $closing
 
string[] $orig
 
string $type
 

Detailed Description

Extends DiffOp.

Used to mark strings that have been added from the first string array.

Access:
private

Definition at line 155 of file DairikiDiff.php.

Constructor & Destructor Documentation

DiffOpAdd::__construct (   $lines)

Definition at line 158 of file DairikiDiff.php.

References $lines.

Member Function Documentation

DiffOpAdd::reverse ( )
Returns
DiffOpDelete

Definition at line 166 of file DairikiDiff.php.

Member Data Documentation

DiffOpAdd::$type = 'add'

Definition at line 156 of file DairikiDiff.php.


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