class _DiffOp_Copy

@todo document @private @subpackage DifferenceEngine

Hierarchy

Expanded class hierarchy of _DiffOp_Copy

File

drupal/core/lib/Drupal/Component/Diff/DiffEngine.php, line 41
A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)

View source
class _DiffOp_Copy extends _DiffOp {
  var $type = 'copy';
  function _DiffOp_Copy($orig, $closing = FALSE) {
    if (!is_array($closing)) {
      $closing = $orig;
    }
    $this->orig = $orig;
    $this->closing = $closing;
  }
  function reverse() {
    return new _DiffOp_Copy($this->closing, $this->orig);
  }

}

Members