MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onApiQueryBaseProcessRow ( $module, $row, &$data, &$hookData) | |
This hook is called for (some) API query modules as each row of the database result is processed. | |
Stable to implement.
Definition at line 12 of file ApiQueryBaseProcessRowHook.php.
MediaWiki\Api\Hook\ApiQueryBaseProcessRowHook::onApiQueryBaseProcessRow | ( | $module, | |
$row, | |||
& | $data, | ||
& | $hookData | ||
) |
This hook is called for (some) API query modules as each row of the database result is processed.
An API query module wanting to use this hook should see the ApiQueryBase::select() and ApiQueryBase::processRow() documentation.
ApiQueryBase | $module | Module in question |
stdClass | $row | Database result row |
array | &$data | Array to be included in the ApiResult |
array | &$hookData | Array that was be passed to the ApiQueryBaseBeforeQuery and ApiQueryBaseAfterQuery hooks, intended for inter-hook communication |
Implemented in MediaWiki\Api\ApiHookRunner.