|
Wikibase
MediaWiki Wikibase extension
|
A collection of EntitySource objects. More...
Public Member Functions | |
| __construct (array $sources, EntityTypeDefinitions $entityTypeDefinitions) | |
| getSources () | |
| getSourceForEntityType (string $entityType) | |
| getEntityTypeToSourceMapping () | |
| getConceptBaseUris () | |
| getRdfNodeNamespacePrefixes () | |
| getRdfPredicateNamespacePrefixes () | |
Private Member Functions | |
| assertNoDuplicateSourcesOrEntityTypes (array $sources) | |
| buildSubEntityTypeMap (EntityTypeDefinitions $entityTypeDefinitions) | |
| buildEntityTypeToSourceMapping () | |
Private Attributes | |
| $sources | |
| $entityTypeToSourceMapping = null | |
| $sourceToConceptBaseUriMap = null | |
| $sourceToRdfNodeNamespacePrefixMap = null | |
| $sourceToRdfPredicateNamespacePrefixMap = null | |
| $subEntityTypeMap | |
A collection of EntitySource objects.
Allows looking up an EntitySource object for a given entity type.
| Wikibase\DataAccess\EntitySourceDefinitions::__construct | ( | array | $sources, |
| EntityTypeDefinitions | $entityTypeDefinitions | ||
| ) |
| EntitySource[] | $sources | with unique names. An single entity type can not be used in two different sources. |
| EntityTypeDefinitions | $entityTypeDefinitions |
|
private |
| EntitySource[] | $sources |
|
private |
|
private |
| Wikibase\DataAccess\EntitySourceDefinitions::getConceptBaseUris | ( | ) |
| Wikibase\DataAccess\EntitySourceDefinitions::getEntityTypeToSourceMapping | ( | ) |
| Wikibase\DataAccess\EntitySourceDefinitions::getRdfNodeNamespacePrefixes | ( | ) |
| Wikibase\DataAccess\EntitySourceDefinitions::getRdfPredicateNamespacePrefixes | ( | ) |
| Wikibase\DataAccess\EntitySourceDefinitions::getSourceForEntityType | ( | string | $entityType | ) |
| string | $entityType | Entity type or sub type |
| Wikibase\DataAccess\EntitySourceDefinitions::getSources | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |