MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onSearchResultsAugment (&$setAugmentors, &$rowAugmentors) | |
Use this hook to add code to the list of search result augmentors. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SearchResultsAugment" to register handlers implementing this interface.
Definition at line 15 of file SearchResultsAugmentHook.php.
MediaWiki\Search\Hook\SearchResultsAugmentHook::onSearchResultsAugment | ( | & | $setAugmentors, |
& | $rowAugmentors ) |
Use this hook to add code to the list of search result augmentors.
ResultSetAugmentor[] | &$setAugmentors | List of whole-set augmentor objects, must implement ResultSetAugmentor |
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. |
Implemented in MediaWiki\HookContainer\HookRunner.