Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5965505
SpecialSearchResultsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
732 B
Referenced Files
None
Subscribers
None
SpecialSearchResultsHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
ISearchResultSet
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialSearchResults" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SpecialSearchResultsHook
{
/**
* This hook is called before search result display
*
* @since 1.35
*
* @param string $term Search term
* @param ?ISearchResultSet &$titleMatches Empty or ISearchResultSet object
* @param ?ISearchResultSet &$textMatches Empty or ISearchResultSet object
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSpecialSearchResults
(
$term
,
&
$titleMatches
,
&
$textMatches
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 11:01 (1 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
05/6a/00cec374e0c5cfd187dc85ce8630
Default Alt Text
SpecialSearchResultsHook.php (732 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment