Wikibase
MediaWiki Wikibase extension
|
Object representing search criteria while performing a search in the term index. More...
Public Member Functions | |
__construct (array $fields=[]) | |
getTermType () | |
getLanguage () | |
getText () | |
Private Attributes | |
$fieldNames | |
$termType = null | |
$termLanguage = null | |
$termText = null | |
Object representing search criteria while performing a search in the term index.
Instances might be incomplete (have null values for some of the fields).
Wikibase\Lib\Store\TermIndexSearchCriteria::__construct | ( | array | $fields = [] | ) |
array | $fields | Associative array containing fields: 'termType' => string|null, one of TermIndexEntry::TYPE_… constants, 'termLanguage' => string|null 'termText' => string|null |
ParameterAssertionException |
Wikibase\Lib\Store\TermIndexSearchCriteria::getLanguage | ( | ) |
Wikibase\Lib\Store\TermIndexSearchCriteria::getTermType | ( | ) |
Wikibase\Lib\Store\TermIndexSearchCriteria::getText | ( | ) |
|
private |
|
private |
|
private |
|
private |