Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater Class Reference
+ Inheritance diagram for Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater:
+ Collaboration diagram for Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater:

Public Member Functions

 __construct (... $updaters)
 
 addUpdater (StatementDataUpdater $updater)
 
 processStatement (Statement $statement)
 Extract some data or do processing on a Statement during parsing. More...
 
 updateParserOutput (ParserOutput $parserOutput)
 Update extension data, properties or other data in ParserOutput. More...
 

Private Attributes

 $updaters
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater::__construct (   $updaters)

Member Function Documentation

◆ addUpdater()

Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater::addUpdater ( StatementDataUpdater  $updater)

◆ processStatement()

Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater::processStatement ( Statement  $statement)

Extract some data or do processing on a Statement during parsing.

This method is normally invoked when processing a StatementList for all Statements on a StatementListProvider (e.g. an Item).

Parameters
Statement$statement

Implements Wikibase\Repo\ParserOutput\StatementDataUpdater.

◆ updateParserOutput()

Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater::updateParserOutput ( ParserOutput  $parserOutput)

Update extension data, properties or other data in ParserOutput.

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

Parameters
ParserOutput$parserOutput

Implements Wikibase\Repo\ParserOutput\StatementDataUpdater.

Member Data Documentation

◆ $updaters

Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater::$updaters
private

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