MediaWiki
1.34.0
|
Public Member Functions | |
modifyWatchedItemsWithRCInfo (UserIdentity $user, array $options, IDatabase $db, array &$items, $res, &$startFrom) | |
Modify the results from WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() before they're returned. More... | |
modifyWatchedItemsWithRCInfoQuery (UserIdentity $user, array $options, IDatabase $db, array &$tables, array &$fields, array &$conds, array &$dbOptions, array &$joinConds) | |
Modify the WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() query before it's made. More... | |
Definition at line 17 of file WatchedItemQueryServiceExtension.php.
WatchedItemQueryServiceExtension::modifyWatchedItemsWithRCInfo | ( | UserIdentity | $user, |
array | $options, | ||
IDatabase | $db, | ||
array & | $items, | ||
$res, | |||
& | $startFrom | ||
) |
Modify the results from WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() before they're returned.
UserIdentity | $user | |
array | $options | Options from WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() |
IDatabase | $db | Database connection being used for the query |
array | &$items | array of pairs ( WatchedItem $watchedItem, string[] $recentChangeInfo ). May be truncated if necessary, in which case $startFrom must be updated. |
IResultWrapper | bool | $res | Database query result |
array | null | &$startFrom | Continuation value. If you truncate $items, set this to [ $recentChangeInfo['rc_timestamp'], $recentChangeInfo['rc_id'] ] from the first item removed. |
WatchedItemQueryServiceExtension::modifyWatchedItemsWithRCInfoQuery | ( | UserIdentity | $user, |
array | $options, | ||
IDatabase | $db, | ||
array & | $tables, | ||
array & | $fields, | ||
array & | $conds, | ||
array & | $dbOptions, | ||
array & | $joinConds | ||
) |
Modify the WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() query before it's made.
UserIdentity | $user | |
array | $options | Options from WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() |
IDatabase | $db | Database connection being used for the query |
array | &$tables | Tables for Database::select() |
array | &$fields | Fields for Database::select() |
array | &$conds | Conditions for Database::select() |
array | &$dbOptions | Options for Database::select() |
array | &$joinConds | Join conditions for Database::select() |