Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\ParserOutput\PropertyParserOutputUpdater Class Reference
+ Inheritance diagram for Wikibase\Repo\ParserOutput\PropertyParserOutputUpdater:
+ Collaboration diagram for Wikibase\Repo\ParserOutput\PropertyParserOutputUpdater:

Public Member Functions

 __construct (StatementDataUpdater $statementDataUpdater)
 
 updateParserOutput (ParserOutput $parserOutput, EntityDocument $entity)
 Update extension data, properties or other data in ParserOutput.
 
 updateParserOutputForProperty (ParserOutput $parserOutput, Property $property)
 

Private Attributes

 $statementDataUpdater
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ParserOutput\PropertyParserOutputUpdater::__construct ( StatementDataUpdater $statementDataUpdater)

Member Function Documentation

◆ updateParserOutput()

Wikibase\Repo\ParserOutput\PropertyParserOutputUpdater::updateParserOutput ( ParserOutput $parserOutput,
EntityDocument $entity )

Update extension data, properties or other data in ParserOutput.

These updates are invoked when EntityContent::getParserOutput is called.

Parameters
ParserOutput$parserOutput
EntityDocument$entity
Returns
void

Implements Wikibase\Repo\ParserOutput\EntityParserOutputUpdater.

◆ updateParserOutputForProperty()

Wikibase\Repo\ParserOutput\PropertyParserOutputUpdater::updateParserOutputForProperty ( ParserOutput $parserOutput,
Property $property )

Member Data Documentation

◆ $statementDataUpdater

Wikibase\Repo\ParserOutput\PropertyParserOutputUpdater::$statementDataUpdater
private

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