|
| prefixSearch (string $entityType, string $searchTerm, string $language) |
|
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::__construct |
( |
EntitySearchHelper | $entitySearch | ) |
|
◆ factory()
static Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::factory |
( |
| ) |
|
|
static |
◆ getParamSettings()
Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::getParamSettings |
( |
| ) |
|
◆ prefixSearch()
Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::prefixSearch |
( |
string | $entityType, |
|
|
string | $searchTerm, |
|
|
string | $language ) |
|
private |
◆ run()
Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::run |
( |
string | $entityType | ) |
|
◆ $entitySearch
EntitySearchHelper Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::$entitySearch |
|
private |
◆ ENTITY_TYPE_MAP
const Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::ENTITY_TYPE_MAP |
|
private |
Initial value:= [
'items' => Item::ENTITY_TYPE,
'properties' => Property::ENTITY_TYPE,
]
◆ ENTITY_TYPE_PATH_PARAM
const Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::ENTITY_TYPE_PATH_PARAM = 'entity_type' |
|
private |
◆ LANGUAGE_QUERY_PARAM
const Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::LANGUAGE_QUERY_PARAM = 'uselang' |
|
private |
◆ RESULTS_LIMIT
const Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::RESULTS_LIMIT = 5 |
|
private |
◆ SEARCH_QUERY_PARAM
const Wikibase\Repo\RestApi\RouteHandlers\SuggestEntitiesRouteHandler::SEARCH_QUERY_PARAM = 'search' |
|
private |
The documentation for this class was generated from the following file: