Manual:Hooks/APIQueryGeneratorAfterExecute

From MediaWiki.org
Jump to: navigation, search
APIQueryGeneratorAfterExecute
Available from version 1.14.0
Use this hook to extend core query modules

*Define function:
function fnMyHook( &$module ) { ... }

*Attach hook:
$wgHooks['APIQueryGeneratorAfterExecute'][] = 'MyExtensionHooks::someExample';
Called from: ApiQuery.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:APIQueryGeneratorAfterExecute extensions.


[edit] Details

  • $module: Module object

[edit] Notes

Called after calling the executeGenerator() method of an API query module.

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox