WordPress at a glance
class is not described

Text_Diff_Op_delete{} WP 1.0

No Hooks.

Return

Null. Nothing.

Usage

$Text_Diff_Op_delete = new Text_Diff_Op_delete();
// use class methods

Methods

  1. Text_Diff_Op_delete( $lines )
  2. __construct( $lines )
  3. reverse()

Notes

  • Package: Text_Diff

Code of Text_Diff_Op_delete{} WP 5.6

<?php
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;
    }

}