- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\DataAccess\DatabaseEntitySource::__construct |
( |
| $name, |
|
|
| $databaseName, |
|
|
array | $entityNamespaceIdsAndSlots, |
|
|
| $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'. |
string | false | $databaseName | The name of the database to use (use false for the local db) |
| array<string,array> | $entityNamespaceIdsAndSlots Associative array indexed by entity type (string), values are array of form [ 'namespaceId' => int, 'slot' => string ] |
string | $conceptBaseUri | |
string | $rdfNodeNamespacePrefix | |
string | $rdfPredicateNamespacePrefix | |
string | $interwikiPrefix | |
◆ getConceptBaseUri()
Wikibase\DataAccess\DatabaseEntitySource::getConceptBaseUri |
( |
| ) |
|
◆ getDatabaseName()
Wikibase\DataAccess\DatabaseEntitySource::getDatabaseName |
( |
| ) |
|
- Returns
- string|false The name of the database to use (use false for the local db)
◆ getEntityNamespaceIds()
Wikibase\DataAccess\DatabaseEntitySource::getEntityNamespaceIds |
( |
| ) |
|
◆ getEntitySlotNames()
Wikibase\DataAccess\DatabaseEntitySource::getEntitySlotNames |
( |
| ) |
|
◆ getEntityTypes()
Wikibase\DataAccess\DatabaseEntitySource::getEntityTypes |
( |
| ) |
|
◆ getInterwikiPrefix()
Wikibase\DataAccess\DatabaseEntitySource::getInterwikiPrefix |
( |
| ) |
|
◆ getRdfNodeNamespacePrefix()
Wikibase\DataAccess\DatabaseEntitySource::getRdfNodeNamespacePrefix |
( |
| ) |
|
◆ getRdfPredicateNamespacePrefix()
Wikibase\DataAccess\DatabaseEntitySource::getRdfPredicateNamespacePrefix |
( |
| ) |
|
◆ getSourceName()
Wikibase\DataAccess\DatabaseEntitySource::getSourceName |
( |
| ) |
|
◆ getType()
Wikibase\DataAccess\DatabaseEntitySource::getType |
( |
| ) |
|
◆ setEntityTypeData()
Wikibase\DataAccess\DatabaseEntitySource::setEntityTypeData |
( |
array | $entityNamespaceIdsAndSlots | ) |
|
|
private |
◆ $conceptBaseUri
Wikibase\DataAccess\DatabaseEntitySource::$conceptBaseUri |
|
private |
◆ $databaseName
Wikibase\DataAccess\DatabaseEntitySource::$databaseName |
|
private |
◆ $entityNamespaceIds
Wikibase\DataAccess\DatabaseEntitySource::$entityNamespaceIds = [] |
|
private |
◆ $entitySlots
Wikibase\DataAccess\DatabaseEntitySource::$entitySlots = [] |
|
private |
◆ $entityTypes
Wikibase\DataAccess\DatabaseEntitySource::$entityTypes = [] |
|
private |
◆ $interwikiPrefix
Wikibase\DataAccess\DatabaseEntitySource::$interwikiPrefix |
|
private |
◆ $rdfNodeNamespacePrefix
Wikibase\DataAccess\DatabaseEntitySource::$rdfNodeNamespacePrefix |
|
private |
◆ $rdfPredicateNamespacePrefix
Wikibase\DataAccess\DatabaseEntitySource::$rdfPredicateNamespacePrefix |
|
private |
◆ $sourceName
Wikibase\DataAccess\DatabaseEntitySource::$sourceName |
|
private |
◆ TYPE
const Wikibase\DataAccess\DatabaseEntitySource::TYPE = 'db' |
The documentation for this class was generated from the following file: