| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Inheritance diagram for MappedDiff:
 Collaboration diagram for MappedDiff:Public Member Functions | |
| __construct ( $from_lines, $to_lines, $mapped_from_lines, $mapped_to_lines) | |
| Constructor.  More... | |
  Public Member Functions inherited from Diff | |
| __construct ($from_lines, $to_lines) | |
| Constructor.  More... | |
| reverse () | |
| Compute reversed Diff.  More... | |
| isEmpty () | |
| Check for empty diff.  More... | |
| lcs () | |
| Compute the length of the Longest Common Subsequence (LCS).  More... | |
| orig () | |
| Get the original set of lines.  More... | |
| closing () | |
| Get the closing set of lines.  More... | |
| _check ($from_lines, $to_lines) | |
| Check a Diff for validity.  More... | |
Additional Inherited Members | |
  Data Fields inherited from Diff | |
| $edits | |
Definition at line 767 of file class.WordLevelDiff.php.
| MappedDiff::__construct | ( | $from_lines, | |
| $to_lines, | |||
| $mapped_from_lines, | |||
| $mapped_to_lines | |||
| ) | 
Constructor.
Computes diff between sequences of strings.
This can be used to compute things like case-insensitve diffs, or diffs which ignore changes in white-space.
| $from_lines | array An array of strings. (Typically these are lines from a file.) | 
| $to_lines | array An array of strings. | 
| $mapped_from_lines | array This array should have the same size number of elements as $from_lines. The elements in $mapped_from_lines and $mapped_to_lines are what is actually compared when computing the diff. | 
| $mapped_to_lines | array This array should have the same number of elements as $to_lines. | 
Definition at line 792 of file class.WordLevelDiff.php.
References _DiffOp\$closing, _DiffOp\$orig, and ILIAS\MetaData\Repository\Validation\Data\__construct().
 Here is the call graph for this function: