Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5955621
SearchIndexFieldsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
718 B
Referenced Files
None
Subscribers
None
SearchIndexFieldsHook.php
View Options
<?php
namespace
MediaWiki\Search\Hook
;
use
SearchEngine
;
use
SearchIndexField
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SearchIndexFields" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SearchIndexFieldsHook
{
/**
* Use this hook to add fields to search index mapping.
*
* @since 1.35
*
* @param SearchIndexField[] &$fields Array of fields, all implement SearchIndexField
* @param SearchEngine $engine SearchEngine instance for which mapping is being built
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSearchIndexFields
(
&
$fields
,
$engine
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 03:50 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
da/1e/05a5598717ff17a286d94ee27d3a
Default Alt Text
SearchIndexFieldsHook.php (718 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment