WordPress at a glance
class is not described

Text_Diff_Op{} WP 1.0

No Hooks.

Return

Null. Nothing.

Usage

$Text_Diff_Op = new Text_Diff_Op();
// use class methods

Methods

  1. nfinal()
  2. norig()
  3. reverse()

Notes

  • Package: Text_Diff

Code of Text_Diff_Op{} WP 5.5.1

<?php
class Text_Diff_Op {

    var $orig;
    var $final;

    function &reverse()
    {
        trigger_error('Abstract method', E_USER_ERROR);
    }

    function norig()
    {
        return $this->orig ? count($this->orig) : 0;
    }

    function nfinal()
    {
        return $this->final ? count($this->final) : 0;
    }

}