MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onApiQueryBaseAfterQuery ( $module, $result, &$hookData) | |
This hook is called for (some) API query modules after the database query has returned. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ApiQueryBaseAfterQuery" to register handlers implementing this interface.
Definition at line 15 of file ApiQueryBaseAfterQueryHook.php.
MediaWiki\Api\Hook\ApiQueryBaseAfterQueryHook::onApiQueryBaseAfterQuery | ( | $module, | |
$result, | |||
& | $hookData ) |
This hook is called for (some) API query modules after the database query has returned.
An API query module wanting to use this hook should see the ApiQueryBase::select() and ApiQueryBase::processRow() documentation.
ApiQueryBase | $module | Module in question |
IResultWrapper | $result | ResultWrapper |
array | &$hookData | Array that was passed to the ApiQueryBaseBeforeQuery hook and will be passed to the ApiQueryBaseProcessRow hook, intended for inter-hook communication |
Implemented in MediaWiki\Api\ApiHookRunner.