MediaWiki
REL1_40
SearchResultInitFromTitleHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Search\Hook
;
4
5
use
MediaWiki\Title\Title
;
6
14
interface
SearchResultInitFromTitleHook
{
25
public
function
onSearchResultInitFromTitle
(
$title
, &$id );
26
}
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:82
MediaWiki\Search\Hook\SearchResultInitFromTitleHook
This is a hook handler interface, see docs/Hooks.md.
Definition
SearchResultInitFromTitleHook.php:14
MediaWiki\Search\Hook\SearchResultInitFromTitleHook\onSearchResultInitFromTitle
onSearchResultInitFromTitle( $title, &$id)
Use this hook to set the revision used when displaying a page in search results.
MediaWiki\Search\Hook
Definition
PrefixSearchBackendHook.php:3
$title
$title
Definition
testCompression.php:39
includes
search
Hook
SearchResultInitFromTitleHook.php
Generated on Thu Jun 27 2024 14:04:04 for MediaWiki by
1.10.0