|
Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
| __construct (EntityContentFactory $entityContentFactory, EntitySourceDefinitions $entitySourceDefinitions, DatabaseEntitySource $localEntitySource, InterwikiLookup $interwikiLookup) | |
| getTitleForId (EntityId $id) | |
| Returns the Title object for the item with provided id. | |
| getTitlesForIds (array $ids) | |
| Returns Title objects for the entities with provided ids. | |
Private Member Functions | |
| getTitleForFederatedId (EntityId $id) | |
| If the EntityId is federated, return a Title for it. | |
Private Attributes | |
| array | $titleForIdCache |
| $entityContentFactory | |
| $entitySourceDefinitions | |
| $localEntitySource | |
| $interwikiLookup | |
| Wikibase\Repo\Content\ContentHandlerEntityTitleLookup::__construct | ( | EntityContentFactory | $entityContentFactory, |
| EntitySourceDefinitions | $entitySourceDefinitions, | ||
| DatabaseEntitySource | $localEntitySource, | ||
| InterwikiLookup | $interwikiLookup ) |
|
private |
If the EntityId is federated, return a Title for it.
Otherwise return null
| Wikibase\Repo\Content\ContentHandlerEntityTitleLookup::getTitleForId | ( | EntityId | $id | ) |
Returns the Title object for the item with provided id.
| OutOfBoundsException | |
| InvalidArgumentException |
Implements Wikibase\Lib\Store\EntityTitleLookup.
| Wikibase\Repo\Content\ContentHandlerEntityTitleLookup::getTitlesForIds | ( | array | $ids | ) |
Returns Title objects for the entities with provided ids.
| EntityId[] | $ids |
| OutOfBoundsException | |
| InvalidArgumentException |
Implements Wikibase\Lib\Store\EntityTitleLookup.
|
private |
|
private |
|
private |
|
private |
|
private |