You are here

class _DiffOp in Diff 7.3

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

@todo document @private @subpackage DifferenceEngine

Hierarchy

Expanded class hierarchy of _DiffOp

File

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

View source
class _DiffOp {
  var $type;
  var $orig;
  var $closing;
  function reverse() {
    trigger_error('pure virtual', E_USER_ERROR);
  }
  function norig() {
    return $this->orig ? sizeof($this->orig) : 0;
  }
  function nclosing() {
    return $this->closing ? sizeof($this->closing) : 0;
  }

}

Members