ILIAS  trunk Revision v5.2.0beta1-34115-g3a2438be29
_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 ()
 

Data Fields

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

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

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

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

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

48  {
49  if (!is_array($closing)) {
50  $closing = $orig;
51  }
52  $this->orig = $orig;
53  $this->closing = $closing;
54  }

Member Function Documentation

◆ reverse()

_DiffOp_Copy::reverse ( )

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

57  {
58  return new _DiffOp_Copy($this->closing, $this->orig);
59  }

Field Documentation

◆ $type

_DiffOp_Copy::$type = 'copy'

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


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