ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 ()
 
- Public Member Functions inherited from Text_Diff_Op
 reverse ()
 
 norig ()
 
 nfinal ()
 

Additional Inherited Members

- Data Fields inherited from Text_Diff_Op
 $orig
 
 $final
 

Detailed Description

Definition at line 761 of file Diff.php.

Member Function Documentation

◆ reverse()

Text_Diff_Op_copy::reverse ( )

Reimplemented from Text_Diff_Op.

Definition at line 772 of file Diff.php.

773 {
774 return $reverse = new Text_Diff_Op_copy($this->final, $this->orig);
775 }
Text_Diff_Op_copy($orig, $final=false)
Definition: Diff.php:763

References Text_Diff_Op_copy().

+ Here is the call graph for this function:

◆ Text_Diff_Op_copy()

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

Definition at line 763 of file Diff.php.

764 {
765 if (!is_array($final)) {
766 $final = $orig;
767 }
768 $this->orig = $orig;
769 $this->final = $final;
770 }

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

Referenced by reverse().

+ Here is the caller graph for this function:

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