Text_Diff_Op_add

The WordPress Core Text Diff Op add class.

Defined (1)

The class is defined in the following location(s).

/wp-includes/Text/Diff.php  
  1. class Text_Diff_Op_add extends Text_Diff_Op { 
  2.  
  3. /** 
  4. * PHP5 constructor. 
  5. */ 
  6. function __construct( $lines ) 
  7. $this->final = $lines; 
  8. $this->orig = false; 
  9.  
  10. /** 
  11. * PHP4 constructor. 
  12. */ 
  13. public function Text_Diff_Op_add( $lines ) { 
  14. self::__construct( $lines ); 
  15.  
  16. function &reverse() 
  17. $reverse = new Text_Diff_Op_delete($this->final); 
  18. return $reverse; 
  19.