Text_Diff_Op

Advertisement

Syntax Syntax

Text_Diff_Op

Source Source

File: wp-includes/Text/Diff.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;
    }

}

Advertisement

Advertisement

Leave a Reply