Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5976421
SearchResultsAugmentHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
939 B
Referenced Files
None
Subscribers
None
SearchResultsAugmentHook.php
View Options
<?php
namespace
MediaWiki\Search\Hook
;
use
ResultAugmentor
;
use
ResultSetAugmentor
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SearchResultsAugment" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SearchResultsAugmentHook
{
/**
* Use this hook to add code to the list of search result augmentors.
*
* @since 1.35
*
* @param ResultSetAugmentor[] &$setAugmentors List of whole-set augmentor objects,
* must implement ResultSetAugmentor
* @param ResultAugmentor[] &$rowAugmentors List of per-row augmentor objects,
* must implement ResultAugmentor. Note that lists should be in the format
* name => object and the names in both lists should be distinct.
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSearchResultsAugment
(
&
$setAugmentors
,
&
$rowAugmentors
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 19:07 (1 d, 18 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e6/7f/23b1f9335cb302172f73ef9ded51
Default Alt Text
SearchResultsAugmentHook.php (939 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment