- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\DataAccess\ApiEntitySource::__construct |
( |
|
$name, |
|
|
array |
$entityTypes, |
|
|
|
$conceptBaseUri, |
|
|
|
$rdfNodeNamespacePrefix, |
|
|
|
$rdfPredicateNamespacePrefix, |
|
|
|
$interwikiPrefix |
|
) |
| |
- Parameters
-
string | $name | Unique 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 | $entityTypes | Array of entityTypes e.g [ 'property' ] |
string | $conceptBaseUri | |
string | $rdfNodeNamespacePrefix | |
string | $rdfPredicateNamespacePrefix | |
string | $interwikiPrefix | |
◆ 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 |
( |
| ) |
|
◆ $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: