Class for generating views of DiffOp objects.
More...
|
| __construct (array $path, Diff $diff) |
|
| getHtml () |
| Builds and returns the HTML to represent the Diff.
|
|
|
| generateHtmlDiffTableRow (?string $oldHtml, ?string $newHtml) |
| Generates an HTML table row for a change diffOp given HTML snippets representing old and new sides of the Diff.
|
|
| generateDiffHeaderHtml (string $name) |
| Generates HTML for the header of the diff operation.
|
|
Class for generating views of DiffOp objects.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Diff\BasicDiffView::__construct |
( |
array | $path, |
|
|
Diff | $diff ) |
◆ generateDiffHeaderHtml()
Wikibase\Repo\Diff\BasicDiffView::generateDiffHeaderHtml |
( |
string | $name | ) |
|
|
protected |
Generates HTML for the header of the diff operation.
◆ generateHtmlDiffTableRow()
Wikibase\Repo\Diff\BasicDiffView::generateHtmlDiffTableRow |
( |
?string | $oldHtml, |
|
|
?string | $newHtml ) |
|
protected |
Generates an HTML table row for a change diffOp given HTML snippets representing old and new sides of the Diff.
◆ getAddedLine()
Wikibase\Repo\Diff\BasicDiffView::getAddedLine |
( |
string | $value | ) |
|
|
private |
◆ getChangedLine()
Wikibase\Repo\Diff\BasicDiffView::getChangedLine |
( |
string | $tag, |
|
|
string | $value ) |
|
private |
◆ getDeletedLine()
Wikibase\Repo\Diff\BasicDiffView::getDeletedLine |
( |
string | $value | ) |
|
|
private |
◆ getHtml()
Wikibase\Repo\Diff\BasicDiffView::getHtml |
( |
| ) |
|
◆ $diff
Wikibase\Repo\Diff\BasicDiffView::$diff |
|
private |
◆ $path
Wikibase\Repo\Diff\BasicDiffView::$path |
|
private |
The documentation for this class was generated from the following file: