Wikibase
MediaWiki Wikibase extension
Wikibase\Client\RecentChanges\RecentChangesFinder Class Reference

Public Member Functions

 __construct (SessionConsistentConnectionManager $connectionManager)
 
 getRecentChangeId (RecentChange $change)
 Checks if a recent change entry already exists in the recentchanges table and returns its id. More...
 

Private Member Functions

 getMetadata ( $rc_params)
 Extracts the metadata array from the value of an rc_params field. More...
 

Private Attributes

 $connectionManager
 

Detailed Description

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\RecentChanges\RecentChangesFinder::__construct ( SessionConsistentConnectionManager  $connectionManager)

Member Function Documentation

◆ getMetadata()

Wikibase\Client\RecentChanges\RecentChangesFinder::getMetadata (   $rc_params)
private

Extracts the metadata array from the value of an rc_params field.

Parameters
array | string$rc_params
Returns
array

◆ getRecentChangeId()

Wikibase\Client\RecentChanges\RecentChangesFinder::getRecentChangeId ( RecentChange  $change)

Checks if a recent change entry already exists in the recentchanges table and returns its id.

Parameters
RecentChange$change
Exceptions
MWException
Returns
int|null

Member Data Documentation

◆ $connectionManager

Wikibase\Client\RecentChanges\RecentChangesFinder::$connectionManager
private

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