Wikibase
MediaWiki Wikibase extension
|
Extracts ids of entities that are referenced on a given entity within its statements. More...
Public Member Functions | |
__construct (SuffixEntityIdParser $quantityUnitEntityIdUriParser) | |
extractEntityIds (EntityDocument $entity) | |
Private Member Functions | |
processStatement (Statement $statement) | |
processSnak (Snak $snak) | |
processDataValue (DataValue $dataValue) | |
processQuantityUnitUri ( $uri) | |
Private Attributes | |
$entityIds = [] | |
$quantityUnitEntityIdUriParser | |
Extracts ids of entities that are referenced on a given entity within its statements.
Wikibase\Repo\EntityReferenceExtractors\StatementEntityReferenceExtractor::__construct | ( | SuffixEntityIdParser | $quantityUnitEntityIdUriParser | ) |
Wikibase\Repo\EntityReferenceExtractors\StatementEntityReferenceExtractor::extractEntityIds | ( | EntityDocument | $entity | ) |
EntityDocument | StatementListProvider | $entity |
Implements Wikibase\Repo\EntityReferenceExtractors\EntityReferenceExtractor.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |