Manual:Hooks/APIQueryGeneratorAfterExecute
From MediaWiki.org
APIQueryGeneratorAfterExecute | |
---|---|
Available from version 1.14.0 Use this hook to extend core query modules |
|
Define function: |
public static function onAPIQueryGeneratorAfterExecute( &$module ) { ... } |
Attach hook: |
$wgHooks['APIQueryGeneratorAfterExecute'][] = 'MyExtensionHooks::onAPIQueryGeneratorAfterExecute'; |
Called from: | File(s): ApiQuery.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:APIQueryGeneratorAfterExecute extensions.
Details[edit | edit source]
- $module: Module object
Notes[edit | edit source]
Called after calling the executeGenerator() method of an API query module.