Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater Class Reference

Add required data for Kartographer to the ParserOutput. More...

+ Inheritance diagram for Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater:
+ Collaboration diagram for Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater:

Public Member Functions

 __construct (CachingKartographerEmbeddingHandler $kartographerHandler)
 
 processStatement (Statement $statement)
 
 updateParserOutput (ParserOutput $parserOutput)
 Add data for the discovered GlobeCoordinateValues to the ParserOutput. More...
 

Private Member Functions

 processSnak (Snak $snak)
 

Private Attributes

 $globeCoordinateValues = []
 
 $kartographerHandler
 

Detailed Description

Add required data for Kartographer to the ParserOutput.

Author
Marius Hoch

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater::__construct ( CachingKartographerEmbeddingHandler  $kartographerHandler)

Member Function Documentation

◆ processSnak()

Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater::processSnak ( Snak  $snak)
private

◆ processStatement()

Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater::processStatement ( Statement  $statement)
Parameters
Statement$statement

Implements Wikibase\Repo\ParserOutput\StatementDataUpdater.

◆ updateParserOutput()

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

Add data for the discovered GlobeCoordinateValues to the ParserOutput.

Parameters
ParserOutput$parserOutput

Implements Wikibase\Repo\ParserOutput\StatementDataUpdater.

Member Data Documentation

◆ $globeCoordinateValues

Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater::$globeCoordinateValues = []
private

◆ $kartographerHandler

Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater::$kartographerHandler
private

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