MediaWiki master
WatchedItemQueryServiceExtension.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Watchlist;
4
8
20
37 public function modifyWatchedItemsWithRCInfoQuery( UserIdentity $user, array $options,
38 IReadableDatabase $db, array &$tables, array &$fields, array &$conds, array &$dbOptions,
39 array &$joinConds
40 );
41
57 public function modifyWatchedItemsWithRCInfo( UserIdentity $user, array $options, IReadableDatabase $db,
58 array &$items, $res, &$startFrom
59 );
60
61}
63class_alias( WatchedItemQueryServiceExtension::class, 'WatchedItemQueryServiceExtension' );
Interface for objects representing user identity.
modifyWatchedItemsWithRCInfoQuery(UserIdentity $user, array $options, IReadableDatabase $db, array &$tables, array &$fields, array &$conds, array &$dbOptions, array &$joinConds)
Modify the WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() query before it's made.
modifyWatchedItemsWithRCInfo(UserIdentity $user, array $options, IReadableDatabase $db, array &$items, $res, &$startFrom)
Modify the results from WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() before they're...
A database connection without write operations.
Result wrapper for grabbing data queried from an IDatabase object.