Class for generating diff rows for a given set of old and new values.
More...
Class for generating diff rows for a given set of old and new values.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Diff\DiffOpValueFormatter::__construct |
( |
|
$oldName, |
|
|
|
$newName, |
|
|
|
$oldValuesHtml, |
|
|
|
$newValuesHtml |
|
) |
| |
- Parameters
-
string | $oldName | HTML of old name |
string | $newName | HTML of new name |
string | string[] | null | $oldValuesHtml | HTML of old value(s) |
string | string[] | null | $newValuesHtml | HTML of new value(s) |
◆ generateAddedCells()
Wikibase\Repo\Diff\DiffOpValueFormatter::generateAddedCells |
( |
| ) |
|
|
private |
◆ generateDeletedCells()
Wikibase\Repo\Diff\DiffOpValueFormatter::generateDeletedCells |
( |
| ) |
|
|
private |
◆ generateEmptyCells()
Wikibase\Repo\Diff\DiffOpValueFormatter::generateEmptyCells |
( |
| ) |
|
|
private |
◆ generateHeaderHtml()
Wikibase\Repo\Diff\DiffOpValueFormatter::generateHeaderHtml |
( |
| ) |
|
|
private |
Generates HTML for the header of the diff operation.
- Returns
- string HTML
◆ generateHtml()
Wikibase\Repo\Diff\DiffOpValueFormatter::generateHtml |
( |
| ) |
|
Generates HTML for a diffOP.
- Returns
- string HTML
◆ generateValueHtml()
Wikibase\Repo\Diff\DiffOpValueFormatter::generateValueHtml |
( |
array |
$values | ) |
|
|
private |
Generates HTML from a given value or array of values.
- Parameters
-
- Returns
- string HTML
◆ $newName
Wikibase\Repo\Diff\DiffOpValueFormatter::$newName |
|
private |
◆ $newValues
Wikibase\Repo\Diff\DiffOpValueFormatter::$newValues |
|
private |
◆ $oldName
Wikibase\Repo\Diff\DiffOpValueFormatter::$oldName |
|
private |
◆ $oldValues
Wikibase\Repo\Diff\DiffOpValueFormatter::$oldValues |
|
private |
The documentation for this class was generated from the following file: