< Manual:Hooks
APIQueryGeneratorAfterExecute | |
---|---|
Available from version 1.14.0 Use this hook to extend core query modules | |
Define function: | public static function onAPIQueryGeneratorAfterExecute( &$module ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"APIQueryGeneratorAfterExecute": "MyExtensionHooks::onAPIQueryGeneratorAfterExecute"
}
}
|
Called from: | File(s): api/ApiQuery.php |
Interface: | APIQueryGeneratorAfterExecuteHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:APIQueryGeneratorAfterExecute extensions.
Details
- $module: Module object
Notes
Called after calling the executeGenerator() method of an API query module.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.