MediaWiki
REL1_35
SearchResultInitFromTitleHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Search\Hook
;
4
5
use
Title
;
6
11
interface
SearchResultInitFromTitleHook
{
22
public
function
onSearchResultInitFromTitle
(
$title
, &$id );
23
}
Title
Represents a title within MediaWiki.
Definition
Title.php:42
MediaWiki\Search\Hook\SearchResultInitFromTitleHook
Stable to implement.
Definition
SearchResultInitFromTitleHook.php:11
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:38
includes
search
Hook
SearchResultInitFromTitleHook.php
Generated on Sat Apr 6 2024 00:07:47 for MediaWiki by
1.9.8