Page MenuHomeWickedGov Phorge

SearchGetNearMatchCompleteHook.php
No OneTemporary

Size
695 B
Referenced Files
None
Subscribers
None

SearchGetNearMatchCompleteHook.php

<?php
namespace MediaWiki\Search\Hook;
use MediaWiki\Title\Title;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SearchGetNearMatchComplete" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SearchGetNearMatchCompleteHook {
/**
* Use this hook to modify exact-title-matches in "go" searches.
*
* @since 1.35
*
* @param string $term Search term
* @param Title|null &$title Current Title object that is being returned (null if none found)
* @return bool|void True or no return value to continue or false to abort
*/
public function onSearchGetNearMatchComplete( $term, &$title );
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Aug 18, 20:23 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a0/b5/b4f1b2abf62a6a4c356897c62f9b
Default Alt Text
SearchGetNearMatchCompleteHook.php (695 B)

Event Timeline