MediaWiki  master
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 ()

Public Attributes

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

Detailed Description

Extends DiffOp.

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

Definition at line 35 of file DiffOpAdd.php.

Constructor & Destructor Documentation

◆ __construct()

DiffOpAdd::__construct (   $lines)
string[] | false$lines

Definition at line 42 of file DiffOpAdd.php.

References $lines.

Member Function Documentation

◆ reverse()

DiffOpAdd::reverse ( )

Reimplemented from DiffOp.

Definition at line 50 of file DiffOpAdd.php.

Member Data Documentation

◆ $type

DiffOpAdd::$type = 'add'

Definition at line 37 of file DiffOpAdd.php.

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