MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\Api\ApiHookRunner.
Public Member Functions | |
onApiOpenSearchSuggest (&$results) | |
This hook is called when constructing the OpenSearch results. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ApiOpenSearchSuggest" to register handlers implementing this interface.
Definition at line 12 of file ApiOpenSearchSuggestHook.php.
MediaWiki\Api\Hook\ApiOpenSearchSuggestHook::onApiOpenSearchSuggest | ( | & | $results | ) |
This hook is called when constructing the OpenSearch results.
Hooks can alter or append to the array.
array[] | &$results | Array with integer keys to associative arrays. Keys in associative array:
|
Implemented in MediaWiki\Api\ApiHookRunner.