Wikibase
MediaWiki Wikibase extension
|
Object representing search criteria while performing a search in the term store (formerly known as the term index). More...
Public Member Functions | |
__construct (array $fields=[]) | |
getTermType () | |
getLanguage () | |
getText () | |
Private Attributes | |
const | FIELD_NAMES |
$termType = null | |
$termLanguage = null | |
$termText = null | |
Object representing search criteria while performing a search in the term store (formerly known as 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 |