WordPress at Your Fingertips
class is not described

Text_Diff_Op_change{} WP 1.0

No Hooks.

Return

null. Nothing.

Usage

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

Methods

  1. Text_Diff_Op_change( $orig, $final )
  2. __construct( $orig, $final )
  3. reverse()

Notes

  • Package: Text_Diff

Code of Text_Diff_Op_change{} WP 5.7.2

<?php
class Text_Diff_Op_change extends Text_Diff_Op {

	/**
	 * PHP5 constructor.
	 */
    function __construct( $orig, $final )
    {
        $this->orig = $orig;
        $this->final = $final;
    }

	/**
	 * PHP4 constructor.
	 */
	public function Text_Diff_Op_change( $orig, $final ) {
		self::__construct( $orig, $final );
	}

    function &reverse()
    {
        $reverse = new Text_Diff_Op_change($this->final, $this->orig);
        return $reverse;
    }

}