Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Rdf\Values\CommonsMediaRdfBuilder Class Reference

RDF mapping for commonsMedia DataValues. More...

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

Public Member Functions

 __construct (RdfVocabulary $vocabulary)
 
- Public Member Functions inherited from Wikibase\Repo\Rdf\Values\ObjectUriRdfBuilder
 addValue (RdfWriter $writer, $propertyValueNamespace, $propertyValueLName, $dataType, $snakNamespace, PropertyValueSnak $snak)
 Adds specific value.
 

Protected Member Functions

 getValueUri (DataValue $value)
 

Private Attributes

 $vocabulary
 

Detailed Description

RDF mapping for commonsMedia DataValues.

Author
Daniel Kinzler
Stas Malyshev

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Rdf\Values\CommonsMediaRdfBuilder::__construct ( RdfVocabulary $vocabulary)

Member Function Documentation

◆ getValueUri()

Wikibase\Repo\Rdf\Values\CommonsMediaRdfBuilder::getValueUri ( DataValue $value)
protected
Parameters
DataValue$value
Returns
string the object URI

Reimplemented from Wikibase\Repo\Rdf\Values\ObjectUriRdfBuilder.

Member Data Documentation

◆ $vocabulary

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

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