Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Store\Sql\SqlSiteLinkConflictLookup Class Reference
+ Inheritance diagram for Wikibase\Repo\Store\Sql\SqlSiteLinkConflictLookup:
+ Collaboration diagram for Wikibase\Repo\Store\Sql\SqlSiteLinkConflictLookup:

Public Member Functions

 __construct (RepoDomainDb $db, EntityIdComposer $entityIdComposer)
 
 getConflictsForItem (Item $item, int $db=null)
 

Private Attributes

 $db
 
 $entityIdComposer
 

Detailed Description

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
Daniel Kinzler
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Store\Sql\SqlSiteLinkConflictLookup::__construct ( RepoDomainDb  $db,
EntityIdComposer  $entityIdComposer 
)

Member Function Documentation

◆ getConflictsForItem()

Wikibase\Repo\Store\Sql\SqlSiteLinkConflictLookup::getConflictsForItem ( Item  $item,
int  $db = null 
)
See also
SiteLinkConflictLookup::getConflictsForItem
Parameters
Item$item
int | null$db
Returns
array[] An array of arrays, each with the keys "siteId", "itemId" and "sitePage".

Implements Wikibase\Repo\Store\SiteLinkConflictLookup.

Member Data Documentation

◆ $db

Wikibase\Repo\Store\Sql\SqlSiteLinkConflictLookup::$db
private

◆ $entityIdComposer

Wikibase\Repo\Store\Sql\SqlSiteLinkConflictLookup::$entityIdComposer
private

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