Merge "jquery.tablesorter: Silence an expected "sort-rowspan-error" warning"
[mediawiki.git] / includes / api / Hook / ApiQueryBaseAfterQueryHook.php
blob8b2901b47ae34280866d500aa88148dd6f5d4c6d
1 <?php
3 namespace MediaWiki\Api\Hook;
5 use MediaWiki\Api\ApiQueryBase;
6 use Wikimedia\Rdbms\IResultWrapper;
8 /**
9 * This is a hook handler interface, see docs/Hooks.md.
10 * Use the hook name "ApiQueryBaseAfterQuery" to register handlers implementing this interface.
12 * @stable to implement
13 * @ingroup Hooks
15 interface ApiQueryBaseAfterQueryHook {
16 /**
17 * This hook is called for (some) API query modules after the
18 * database query has returned. An API query module wanting to use this hook
19 * should see the ApiQueryBase::select() and ApiQueryBase::processRow()
20 * documentation.
22 * @since 1.35
24 * @param ApiQueryBase $module Module in question
25 * @param IResultWrapper $result ResultWrapper
26 * @param array &$hookData Array that was passed to the ApiQueryBaseBeforeQuery hook and
27 * will be passed to the ApiQueryBaseProcessRow hook, intended for inter-hook
28 * communication
29 * @return bool|void True or no return value to continue or false to abort
31 public function onApiQueryBaseAfterQuery( $module, $result, &$hookData );