|
Wikibase
MediaWiki Wikibase extension
|
Inheritance diagram for Wikibase\Lib\Store\TitleLookupBasedEntityExistenceChecker:
Collaboration diagram for Wikibase\Lib\Store\TitleLookupBasedEntityExistenceChecker:Public Member Functions | |
| __construct (EntityTitleLookup $titleLookup, LinkBatchFactory $linkBatchFactory) | |
| exists (EntityId $id) | |
| This exists check returns true, iff an entity has both been created and not deleted, i.e. | |
| existsBatch (array $ids) | |
| Checks if a batch of entities exists at once. | |
Private Attributes | |
| $titleLookup | |
| $linkBatchFactory | |
| Wikibase\Lib\Store\TitleLookupBasedEntityExistenceChecker::__construct | ( | EntityTitleLookup | $titleLookup, |
| LinkBatchFactory | $linkBatchFactory ) |
| Wikibase\Lib\Store\TitleLookupBasedEntityExistenceChecker::exists | ( | EntityId | $id | ) |
This exists check returns true, iff an entity has both been created and not deleted, i.e.
deleted entities do not exist.
| EntityId | $id |
Implements Wikibase\Lib\Store\EntityExistenceChecker.
| Wikibase\Lib\Store\TitleLookupBasedEntityExistenceChecker::existsBatch | ( | array | $ids | ) |
Checks if a batch of entities exists at once.
This is equivalent to iterating over $ids and calling exists() for each, but may be more efficient, depending on implementation.
| EntityId[] | $ids |
entity ID serialization to exists() result. Implements Wikibase\Lib\Store\EntityExistenceChecker.
|
private |
|
private |