Page MenuHomeWickedGov Phorge

SearchResultsAugmentHook.php
No OneTemporary

Size
939 B
Referenced Files
None
Subscribers
None

SearchResultsAugmentHook.php

<?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

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)

Event Timeline