MediaWiki REL1_31
NullIndexField.php
Go to the documentation of this file.
1<?php
2
7
13 public function getMapping( SearchEngine $engine ) {
14 return null;
15 }
16
24 public function setFlag( $flag, $unset = false ) {
25 }
26
32 public function checkFlag( $flag ) {
33 return 0;
34 }
35
42 public function merge( SearchIndexField $that ) {
43 return $that;
44 }
45
49 public function getEngineHints( SearchEngine $engine ) {
50 return [];
51 }
52}
Null index field - means search engine does not implement this field.
getEngineHints(SearchEngine $engine)
@inheritDoc
checkFlag( $flag)
Check if flag is set.
getMapping(SearchEngine $engine)
Get mapping for specific search engine.
setFlag( $flag, $unset=false)
Set global flag for this field.
merge(SearchIndexField $that)
Merge two field definitions if possible.
Contain a class for special pages.
the value to return A Title object or null for latest all implement SearchIndexField $engine
Definition hooks.txt:2881
Definition of a mapping for the search index field.