Text_Diff_Op_delete{}
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Usage
$Text_Diff_Op_delete = new Text_Diff_Op_delete(); // use class methods
Methods
- public Text_Diff_Op_delete( $lines )
- public __construct( $lines )
- public reverse()
Notes
- Package: Text_Diff
Text_Diff_Op_delete{} Text Diff Op delete{} code WP 6.6.1
class Text_Diff_Op_delete extends Text_Diff_Op { /** * PHP5 constructor. */ function __construct( $lines ) { $this->orig = $lines; $this->final = false; } /** * PHP4 constructor. */ public function Text_Diff_Op_delete( $lines ) { self::__construct( $lines ); } function &reverse() { $reverse = new Text_Diff_Op_add($this->orig); return $reverse; } }