Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Store\Sql\SqlEntityIdPagerFactory Class Reference

Factory for SqlEntityIdPager objects. More...

Public Member Functions

 __construct (EntityNamespaceLookup $entityNamespaceLookup, EntityIdLookup $entityIdLookup, LinkCache $linkCache=null)
 
 newSqlEntityIdPager (array $entityTypes=[], $redirectMode=EntityIdPager::NO_REDIRECTS)
 

Private Attributes

 $entityNamespaceLookup
 
 $entityIdLookup
 
 $linkCache
 

Detailed Description

Factory for SqlEntityIdPager objects.

Author
Marius Hoch

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Store\Sql\SqlEntityIdPagerFactory::__construct ( EntityNamespaceLookup  $entityNamespaceLookup,
EntityIdLookup  $entityIdLookup,
LinkCache  $linkCache = null 
)

Member Function Documentation

◆ newSqlEntityIdPager()

Wikibase\Repo\Store\Sql\SqlEntityIdPagerFactory::newSqlEntityIdPager ( array  $entityTypes = [],
  $redirectMode = EntityIdPager::NO_REDIRECTS 
)
Parameters
string[]$entityTypesThe desired entity types, or empty array for any type.
string$redirectModeA EntityIdPager::XXX_REDIRECTS constant (default is NO_REDIRECTS).
Returns
SqlEntityIdPager

Member Data Documentation

◆ $entityIdLookup

Wikibase\Repo\Store\Sql\SqlEntityIdPagerFactory::$entityIdLookup
private

◆ $entityNamespaceLookup

Wikibase\Repo\Store\Sql\SqlEntityIdPagerFactory::$entityNamespaceLookup
private

◆ $linkCache

Wikibase\Repo\Store\Sql\SqlEntityIdPagerFactory::$linkCache
private

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