Text_Diff_Op_delete{}WP 1.0

Хуков нет.

Использование

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

Методы

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

Заметки

  • Пакет: Text_Diff

Код Text_Diff_Op_delete{} WP 6.0.2

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

}