Debian Codegraph @

includes/specials/Hook/DeletedContribsPager__reallyDoQueryHook.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Hook;
4
5 use MediaWiki\Pager\ContributionsPager;
6
7 // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
8 /**
9 * This is a hook handler interface, see docs/Hooks.md.
10 * Use the hook name "DeletedContribsPager::reallyDoQuery" to register handlers implementing this interface.
11 *
12 * @stable to implement
13 * @ingroup Hooks
14 */
15 interface DeletedContribsPager__reallyDoQueryHook {
16 /**
17 * This hook is called before really executing the query for Special:DeletedContributions
18 *
19 * @see ContribsPager__reallyDoQueryHook
20 *
21 * @since 1.35
22 *
23 * @param array &$data an array of results of all contribs queries
24 * @param ContributionsPager $pager The ContributionsPager object hooked into
25 * @param string $offset Index offset, inclusive
26 * @param int $limit Exact query limit
27 * @param bool $descending Query direction, false for ascending, true for descending
28 * @return bool|void True or no return value to continue or false to abort
29 */
30 public function onDeletedContribsPager__reallyDoQuery( &$data, $pager, $offset,
31 $limit, $descending
32 );
33 }