MediaWiki REL1_39
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 return $this;
26 }
27
33 public function checkFlag( $flag ) {
34 return 0;
35 }
36
43 public function merge( SearchIndexField $that ) {
44 return $that;
45 }
46
50 public function getEngineHints( SearchEngine $engine ) {
51 return [];
52 }
53}
Null index field - means search engine does not implement this field.
getEngineHints(SearchEngine $engine)
A list of search engine hints for this field.Hints are usually specific to a search engine implementa...
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.
Definition of a mapping for the search index field.