ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Text_Diff_Op_copy Class Reference
+ Inheritance diagram for Text_Diff_Op_copy:
+ Collaboration diagram for Text_Diff_Op_copy:

Public Member Functions

 __construct ($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 763 of file Diff.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 765 of file Diff.php.

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

Member Function Documentation

◆ reverse()

Text_Diff_Op_copy::reverse ( )

Definition at line 774 of file Diff.php.

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

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