Wikibase
MediaWiki Wikibase extension
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 (PageProps $pageProps, EntityIdParser $idParser)
 
 getEntityIds (array $titles)
 
 getEntityIdForTitle (Title $title)
 

Private Attributes

 $pageProps
 
 $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 ( PageProps  $pageProps,
EntityIdParser  $idParser 
)

Member Function Documentation

◆ getEntityIdForTitle()

Wikibase\Client\Store\Sql\PagePropsEntityIdLookup::getEntityIdForTitle ( Title  $title)

◆ 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

◆ $pageProps

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

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