ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
_DiffOp_Copy Class Reference
+ Inheritance diagram for _DiffOp_Copy:
+ Collaboration diagram for _DiffOp_Copy:

Public Member Functions

 __construct ($orig, $closing=false)
 
 reverse ()
 
- Public Member Functions inherited from _DiffOp
 reverse ()
 
 norig ()
 
 nclosing ()
 

Data Fields

 $type = 'copy'
 
- Data Fields inherited from _DiffOp
 $type
 
 $orig
 
 $closing
 

Detailed Description

Definition at line 688 of file class.WordLevelDiff.php.

Constructor & Destructor Documentation

◆ __construct()

_DiffOp_Copy::__construct (   $orig,
  $closing = false 
)

Definition at line 691 of file class.WordLevelDiff.php.

691 {
692 if (!is_array($closing))
693 $closing = $orig;
694 $this->orig = $orig;
695 $this->closing = $closing;
696 }

References _DiffOp\$closing, and _DiffOp\$orig.

Member Function Documentation

◆ reverse()

_DiffOp_Copy::reverse ( )

Reimplemented from _DiffOp.

Definition at line 698 of file class.WordLevelDiff.php.

698 {
699 return new _DiffOp_Copy($this->closing, $this->orig);
700 }

Field Documentation

◆ $type

_DiffOp_Copy::$type = 'copy'

Definition at line 689 of file class.WordLevelDiff.php.


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