ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
_DiffOp_Copy Class Reference
+ Inheritance diagram for _DiffOp_Copy:
+ Collaboration diagram for _DiffOp_Copy:

Public Member Functions

 _DiffOp_Copy ($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.

Member Function Documentation

◆ _DiffOp_Copy()

_DiffOp_Copy::_DiffOp_Copy (   $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.

Referenced by reverse().

+ Here is the caller graph for this function:

◆ 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 }
_DiffOp_Copy($orig, $closing=false)

References _DiffOp_Copy().

+ Here is the call graph for this function:

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: