ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Text_Diff_Op Class Reference
+ Inheritance diagram for Text_Diff_Op:
+ Collaboration diagram for Text_Diff_Op:

Public Member Functions

 reverse ()
 
 norig ()
 
 nfinal ()
 

Data Fields

 $orig
 
 $final
 

Detailed Description

Definition at line 736 of file Diff.php.

Member Function Documentation

◆ nfinal()

Text_Diff_Op::nfinal ( )

Definition at line 751 of file Diff.php.

752 {
753 return $this->final ? count($this->final) : 0;
754 }

◆ norig()

Text_Diff_Op::norig ( )

Definition at line 746 of file Diff.php.

747 {
748 return $this->orig ? count($this->orig) : 0;
749 }

◆ reverse()

Text_Diff_Op::reverse ( )

Reimplemented in Text_Diff_Op_copy, Text_Diff_Op_delete, Text_Diff_Op_add, and Text_Diff_Op_change.

Definition at line 741 of file Diff.php.

742 {
743 trigger_error('Abstract method', E_USER_ERROR);
744 }

Field Documentation

◆ $final

Text_Diff_Op::$final

Definition at line 739 of file Diff.php.

Referenced by Text_Diff_Op_change\__construct(), and Text_Diff_Op_copy\__construct().

◆ $orig

Text_Diff_Op::$orig

Definition at line 738 of file Diff.php.

Referenced by Text_Diff_Op_change\__construct(), and Text_Diff_Op_copy\__construct().


The documentation for this class was generated from the following file: