Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:Hooks/APIQueryGeneratorAfterExecute

From mediawiki.org
<Manual:Hooks
APIQueryGeneratorAfterExecute
Available fromversion 1.14.0
Use this hook to extend core query modules
Define function:
publicstaticfunctiononAPIQueryGeneratorAfterExecute(&$module){...}
Attach hook:Inextension.json:
{"Hooks":{"APIQueryGeneratorAfterExecute":"MediaWiki\\Extension\\MyExtension\\Hooks::onAPIQueryGeneratorAfterExecute"}}
Called from:File(s):api/ApiQuery.php
Interface:APIQueryGeneratorAfterExecuteHook.php

For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:APIQueryGeneratorAfterExecute extensions.

Details

[edit]
  • $module: Module object

Notes

[edit]

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

Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:Hooks/APIQueryGeneratorAfterExecute&oldid=3295235"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp