MediaWiki  master
SpecialSearchResultsPrependHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use OutputPage;
6 use SpecialSearch;
7 
29  public function onSpecialSearchResultsPrepend( $specialSearch, $output, $term );
30 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\SpecialSearchResultsPrependHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialSearchResultsPrependHook.php:15
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition: OutputPage.php:47
SpecialSearch
implements Special:Search - Run text & title search and display the output
Definition: SpecialSearch.php:41
MediaWiki\Hook\SpecialSearchResultsPrependHook\onSpecialSearchResultsPrepend
onSpecialSearchResultsPrepend( $specialSearch, $output, $term)
This hook is called immediately before returning HTML on the search results page.