Wikibase
MediaWiki Wikibase extension
|
EntitySearchHelper implementation which uses entity configuration to instantiate the specific handler. More...
Public Member Functions | |
__construct (array $callbacks, WebRequest $request) | |
getRankedSearchResults ( $text, $languageCode, $entityType, $limit, $strictLanguage) | |
Get entities matching the search term. | |
Private Attributes | |
$callbacks | |
$request | |
EntitySearchHelper implementation which uses entity configuration to instantiate the specific handler.
Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper::__construct | ( | array | $callbacks, |
WebRequest | $request | ||
) |
Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper::getRankedSearchResults | ( | $text, | |
$languageCode, | |||
$entityType, | |||
$limit, | |||
$strictLanguage | |||
) |
Get entities matching the search term.
string | $text | |
string | $languageCode | |
string | $entityType | |
int | $limit | |
bool | $strictLanguage |
Implements Wikibase\Repo\Api\EntitySearchHelper.
|
private |
|
private |