Diff
- Full name:
\Diff
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
UNMODIFIED |
public | 0 | |
DELETED |
public | 1 | |
INSERTED |
public | 2 |
Methods
compare
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$string1 |
mixed | |
$string2 |
mixed | |
$compareCharacters |
mixed |
compareFiles
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$file1 |
mixed | |
$file2 |
mixed | |
$compareCharacters |
mixed |
computeTable
private static computeTable(mixed $sequence1, mixed $sequence2, mixed $start, mixed $end1, mixed $end2): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$sequence1 |
mixed | |
$sequence2 |
mixed | |
$start |
mixed | |
$end1 |
mixed | |
$end2 |
mixed |
generatePartialDiff
private static generatePartialDiff(mixed $table, mixed $sequence1, mixed $sequence2, mixed $start): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$table |
mixed | |
$sequence1 |
mixed | |
$sequence2 |
mixed | |
$start |
mixed |
toString
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$diff |
mixed | |
$separator |
mixed |
toHTML
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$diff |
mixed | |
$separator |
mixed |
toTable
public static toTable(mixed $diff, mixed $indentation = '', mixed $separator = '<br>'): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$diff |
mixed | |
$indentation |
mixed | |
$separator |
mixed |
getCellContent
private static getCellContent(mixed $diff, mixed $indentation, mixed $separator, mixed& $index, mixed $type): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$diff |
mixed | |
$indentation |
mixed | |
$separator |
mixed | |
$index |
mixed | |
$type |
mixed |
Automatically generated on 2025-03-18