MediaWiki
REL1_35
SearchIndexFieldsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Search\Hook
;
4
5
use
SearchEngine
;
6
use
SearchIndexField
;
7
12
interface
SearchIndexFieldsHook
{
22
public
function
onSearchIndexFields
( &$fields, $engine );
23
}
SearchEngine
Contain a class for special pages Stable to extend.
Definition
SearchEngine.php:37
MediaWiki\Search\Hook\SearchIndexFieldsHook
Stable to implement.
Definition
SearchIndexFieldsHook.php:12
MediaWiki\Search\Hook\SearchIndexFieldsHook\onSearchIndexFields
onSearchIndexFields(&$fields, $engine)
Use this hook to add fields to search index mapping.
SearchIndexField
Definition of a mapping for the search index field.
Definition
SearchIndexField.php:7
MediaWiki\Search\Hook
Definition
PrefixSearchBackendHook.php:3
includes
search
Hook
SearchIndexFieldsHook.php
Generated on Sat Apr 6 2024 00:07:47 for MediaWiki by
1.9.8