Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Store\Sql\PagePropsEntityIdLookup Class Reference

Lookup of EntityIds based on wikibase_item entries in the page_props table. More...

+ Inheritance diagram for Wikibase\Client\Store\Sql\PagePropsEntityIdLookup:
+ Collaboration diagram for Wikibase\Client\Store\Sql\PagePropsEntityIdLookup:

Public Member Functions

 __construct (ILoadBalancer $loadBalancer, EntityIdParser $idParser)
 
 getEntityIds (array $titles)
 
 getEntityIdForTitle (Title $title)
 

Private Attributes

 $loadBalancer
 
 $idParser
 

Detailed Description

Lookup of EntityIds based on wikibase_item entries in the page_props table.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Store\Sql\PagePropsEntityIdLookup::__construct ( ILoadBalancer  $loadBalancer,
EntityIdParser  $idParser 
)

Member Function Documentation

◆ getEntityIdForTitle()

Wikibase\Client\Store\Sql\PagePropsEntityIdLookup::getEntityIdForTitle ( Title  $title)
See also
EntityIdLookup::getEntityIdForTitle
Parameters
Title$title
Returns
EntityId|null

Implements Wikibase\Lib\Store\EntityIdLookup.

◆ getEntityIds()

Wikibase\Client\Store\Sql\PagePropsEntityIdLookup::getEntityIds ( array  $titles)
See also
EntityIdLookup::getEntityIds
Parameters
Title[]$titles
Returns
EntityId[]

Implements Wikibase\Lib\Store\EntityIdLookup.

Member Data Documentation

◆ $idParser

Wikibase\Client\Store\Sql\PagePropsEntityIdLookup::$idParser
private

◆ $loadBalancer

Wikibase\Client\Store\Sql\PagePropsEntityIdLookup::$loadBalancer
private

The documentation for this class was generated from the following file: