You are here

class _DiffOp_Add in Diff 7.2

Same name and namespace in other branches
  1. 5.2 DiffEngine.php \_DiffOp_Add
  2. 5 DiffEngine.php \_DiffOp_Add
  3. 6.2 DiffEngine.php \_DiffOp_Add
  4. 6 DiffEngine.php \_DiffOp_Add
  5. 7.3 DiffEngine.php \_DiffOp_Add

@todo document @private @subpackage DifferenceEngine

Hierarchy

Expanded class hierarchy of _DiffOp_Add

File

./DiffEngine.php, line 81
A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)

View source
class _DiffOp_Add extends _DiffOp {
  var $type = 'add';
  function _DiffOp_Add($lines) {
    $this->closing = $lines;
    $this->orig = FALSE;
  }
  function reverse() {
    return new _DiffOp_Delete($this->closing);
  }

}

Members