Wikibase
MediaWiki Wikibase extension
Wikibase\DataAccess\ApiEntitySource Class Reference
+ Inheritance diagram for Wikibase\DataAccess\ApiEntitySource:
+ Collaboration diagram for Wikibase\DataAccess\ApiEntitySource:

Public Member Functions

 __construct ( $name, array $entityTypes, $conceptBaseUri, $rdfNodeNamespacePrefix, $rdfPredicateNamespacePrefix, $interwikiPrefix)
 
 getSourceName ()
 
 getEntityTypes ()
 
 getConceptBaseUri ()
 
 getRdfNodeNamespacePrefix ()
 
 getRdfPredicateNamespacePrefix ()
 
 getInterwikiPrefix ()
 
 getType ()
 

Public Attributes

const TYPE = 'api'
 

Private Attributes

 $sourceName
 
 $entityTypes
 
 $conceptBaseUri
 
 $rdfNodeNamespacePrefix
 
 $rdfPredicateNamespacePrefix
 
 $interwikiPrefix
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataAccess\ApiEntitySource::__construct (   $name,
array  $entityTypes,
  $conceptBaseUri,
  $rdfNodeNamespacePrefix,
  $rdfPredicateNamespacePrefix,
  $interwikiPrefix 
)
Parameters
string$nameUnique name for the source for a given configuration / site, used for indexing the sources internally. This does not have to be a wikiname, sitename or dbname, it can for example just be 'properties'.
array$entityTypesArray of entityTypes e.g [ 'property' ]
string$conceptBaseUri
string$rdfNodeNamespacePrefix
string$rdfPredicateNamespacePrefix
string$interwikiPrefix

Member Function Documentation

◆ getConceptBaseUri()

Wikibase\DataAccess\ApiEntitySource::getConceptBaseUri ( )

◆ getEntityTypes()

Wikibase\DataAccess\ApiEntitySource::getEntityTypes ( )

◆ getInterwikiPrefix()

Wikibase\DataAccess\ApiEntitySource::getInterwikiPrefix ( )

◆ getRdfNodeNamespacePrefix()

Wikibase\DataAccess\ApiEntitySource::getRdfNodeNamespacePrefix ( )

◆ getRdfPredicateNamespacePrefix()

Wikibase\DataAccess\ApiEntitySource::getRdfPredicateNamespacePrefix ( )

◆ getSourceName()

Wikibase\DataAccess\ApiEntitySource::getSourceName ( )

◆ getType()

Wikibase\DataAccess\ApiEntitySource::getType ( )

Member Data Documentation

◆ $conceptBaseUri

Wikibase\DataAccess\ApiEntitySource::$conceptBaseUri
private

◆ $entityTypes

Wikibase\DataAccess\ApiEntitySource::$entityTypes
private

◆ $interwikiPrefix

Wikibase\DataAccess\ApiEntitySource::$interwikiPrefix
private

◆ $rdfNodeNamespacePrefix

Wikibase\DataAccess\ApiEntitySource::$rdfNodeNamespacePrefix
private

◆ $rdfPredicateNamespacePrefix

Wikibase\DataAccess\ApiEntitySource::$rdfPredicateNamespacePrefix
private

◆ $sourceName

Wikibase\DataAccess\ApiEntitySource::$sourceName
private

◆ TYPE

const Wikibase\DataAccess\ApiEntitySource::TYPE = 'api'

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