Public Member Functions

Text_Diff_Op_copy Class Reference

Inheritance diagram for Text_Diff_Op_copy:
Collaboration diagram for Text_Diff_Op_copy:

Public Member Functions

 Text_Diff_Op_copy ($orig, $final=false)
 reverse ()

Detailed Description

Definition at line 761 of file Diff.php.


Member Function Documentation

Text_Diff_Op_copy::reverse (  ) 

Reimplemented from Text_Diff_Op.

Definition at line 772 of file Diff.php.

References Text_Diff_Op_copy().

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

Here is the call graph for this function:

Text_Diff_Op_copy::Text_Diff_Op_copy ( orig,
final = false 
)

Definition at line 763 of file Diff.php.

References Text_Diff_Op::$final, and Text_Diff_Op::$orig.

Referenced by reverse().

    {
        if (!is_array($final)) {
            $final = $orig;
        }
        $this->orig = $orig;
        $this->final = $final;
    }

Here is the caller graph for this function:


The documentation for this class was generated from the following file: