MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onSpecialSearchResults ( $term, &$titleMatches, &$textMatches) | |
This hook is called before search result display. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialSearchResults" to register handlers implementing this interface.
Definition at line 14 of file SpecialSearchResultsHook.php.
MediaWiki\Hook\SpecialSearchResultsHook::onSpecialSearchResults | ( | $term, | |
& | $titleMatches, | ||
& | $textMatches | ||
) |
This hook is called before search result display.
string | $term | Search term |
?ISearchResultSet | &$titleMatches Empty or ISearchResultSet object | |
?ISearchResultSet | &$textMatches Empty or ISearchResultSet object |
Implemented in MediaWiki\HookContainer\HookRunner.