MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onApiQueryBaseAfterQuery ( $module, $result, &$hookData) | |
This hook is called for (some) API query modules after the database query has returned. | |
Stable to implement.
Definition at line 12 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 | bool | $result | ResultWrapper or bool returned from the IDatabase::select() |
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.