WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Presentation\Diff\FormDiffView Class Reference

Class for generating views of DiffOp objects of forms. More...

+ Inheritance diagram for Wikibase\Lexeme\Presentation\Diff\FormDiffView:
+ Collaboration diagram for Wikibase\Lexeme\Presentation\Diff\FormDiffView:

Public Member Functions

 __construct (array $path, Diff $diff, ClaimDiffer $claimDiffer, ClaimDifferenceVisualizer $claimDiffVisualizer, ItemReferenceDifferenceVisualizer $itemReferenceDifferenceVisualizer, MessageLocalizer $messageLocalizer)
 

Protected Member Functions

 generateOpHtml (array $path, DiffOp $op)
 

Private Member Functions

 generateFormOpHtml (array $path, FormDiff $op, $key)
 
 getClaimDiffHtml (DiffOp $diffOp, array $path)
 

Private Attributes

 $claimDiffer
 
 $claimDiffVisualizer
 
 $itemReferenceDifferenceVisualizer
 
 $messageLocalizer
 

Detailed Description

Class for generating views of DiffOp objects of forms.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Presentation\Diff\FormDiffView::__construct ( array $path,
Diff $diff,
ClaimDiffer $claimDiffer,
ClaimDifferenceVisualizer $claimDiffVisualizer,
ItemReferenceDifferenceVisualizer $itemReferenceDifferenceVisualizer,
MessageLocalizer $messageLocalizer )
Parameters
string[]$path
Diff$diff
ClaimDiffer$claimDiffer
ClaimDifferenceVisualizer$claimDiffVisualizer
MessageLocalizer$messageLocalizer

Member Function Documentation

◆ generateFormOpHtml()

Wikibase\Lexeme\Presentation\Diff\FormDiffView::generateFormOpHtml ( array $path,
FormDiff $op,
$key )
private

◆ generateOpHtml()

Wikibase\Lexeme\Presentation\Diff\FormDiffView::generateOpHtml ( array $path,
DiffOp $op )
protected
Parameters
string[]$path
DiffOp$op
Returns
string HTML

◆ getClaimDiffHtml()

Wikibase\Lexeme\Presentation\Diff\FormDiffView::getClaimDiffHtml ( DiffOp $diffOp,
array $path )
private
Parameters
DiffOp$diffOp
Returns
string HTML

Member Data Documentation

◆ $claimDiffer

Wikibase\Lexeme\Presentation\Diff\FormDiffView::$claimDiffer
private

◆ $claimDiffVisualizer

Wikibase\Lexeme\Presentation\Diff\FormDiffView::$claimDiffVisualizer
private

◆ $itemReferenceDifferenceVisualizer

Wikibase\Lexeme\Presentation\Diff\FormDiffView::$itemReferenceDifferenceVisualizer
private

◆ $messageLocalizer

Wikibase\Lexeme\Presentation\Diff\FormDiffView::$messageLocalizer
private

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