Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Rdf\Values\EntityIdRdfBuilder Class Reference

RDF mapping for wikibase-entity DataValues. More...

+ Inheritance diagram for Wikibase\Repo\Rdf\Values\EntityIdRdfBuilder:
+ Collaboration diagram for Wikibase\Repo\Rdf\Values\EntityIdRdfBuilder:

Public Member Functions

 __construct (RdfVocabulary $vocabulary, EntityMentionListener $mentionedEntityTracker)
 
 addValue (RdfWriter $writer, $propertyValueNamespace, $propertyValueLName, $dataType, $snakNamespace, PropertyValueSnak $snak)
 Adds specific value. More...
 

Private Attributes

 $vocabulary
 
 $mentionedEntityTracker
 

Detailed Description

RDF mapping for wikibase-entity DataValues.

Author
Daniel Kinzler
Stas Malyshev

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Rdf\Values\EntityIdRdfBuilder::__construct ( RdfVocabulary  $vocabulary,
EntityMentionListener  $mentionedEntityTracker 
)

Member Function Documentation

◆ addValue()

Wikibase\Repo\Rdf\Values\EntityIdRdfBuilder::addValue ( RdfWriter  $writer,
  $propertyValueNamespace,
  $propertyValueLName,
  $dataType,
  $snakNamespace,
PropertyValueSnak  $snak 
)

Adds specific value.

Parameters
RdfWriter$writer
string$propertyValueNamespaceProperty value relation namespace
string$propertyValueLNameProperty value relation name
string$dataTypeProperty data type
PropertyValueSnak$snak

Implements Wikibase\Repo\Rdf\ValueSnakRdfBuilder.

Member Data Documentation

◆ $mentionedEntityTracker

Wikibase\Repo\Rdf\Values\EntityIdRdfBuilder::$mentionedEntityTracker
private

◆ $vocabulary

Wikibase\Repo\Rdf\Values\EntityIdRdfBuilder::$vocabulary
private

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