EntitySearchHelper implementation which uses entity configuration to instantiate the specific handler.
More...
EntitySearchHelper implementation which uses entity configuration to instantiate the specific handler.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper::__construct |
( |
array |
$callbacks, |
|
|
WebRequest |
$request |
|
) |
| |
◆ getRankedSearchResults()
Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper::getRankedSearchResults |
( |
|
$text, |
|
|
|
$languageCode, |
|
|
|
$entityType, |
|
|
|
$limit, |
|
|
|
$strictLanguage |
|
) |
| |
Get entities matching the search term.
- Parameters
-
string | $text | |
string | $languageCode | |
string | $entityType | |
int | $limit | |
bool | $strictLanguage | |
- Returns
- TermSearchResult[] Key: string Serialized EntityId
Implements Wikibase\Repo\Api\EntitySearchHelper.
◆ $callbacks
Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper::$callbacks |
|
private |
◆ $request
Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper::$request |
|
private |
The documentation for this class was generated from the following file: