Text_Diff_Op_delete

The WordPress Core Text Diff Op delete class.

Defined (1)

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

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