API module to search for Wikibase entities that can be used as a generator.
More...
API module to search for Wikibase entities that can be used as a generator.
- Copyright
- GPL-2.0-or-later
- Author
- Bene* < benes.nosp@m.tar..nosp@m.wikim.nosp@m.edia.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
- Parameters
-
ApiQuery | $apiQuery | |
string | $moduleName | |
EntitySearchHelper | $entitySearchHelper | |
EntityTitleLookup | $titleLookup | |
ContentLanguages | $termsLanguages | |
array | $entityTypes | |
◆ execute()
Wikibase\Repo\Api\QuerySearchEntities::execute |
( |
| ) |
|
◆ executeGenerator()
Wikibase\Repo\Api\QuerySearchEntities::executeGenerator |
( |
|
$resultPageSet | ) |
|
◆ factory()
static Wikibase\Repo\Api\QuerySearchEntities::factory |
( |
ApiQuery |
$apiQuery, |
|
|
string |
$moduleName, |
|
|
array |
$enabledEntityTypes, |
|
|
array |
$entitySearchHelperCallbacks, |
|
|
EntityTitleLookup |
$entityTitleLookup, |
|
|
ContentLanguages |
$termsLanguages |
|
) |
| |
|
static |
◆ getAllowedParams()
Wikibase\Repo\Api\QuerySearchEntities::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getCacheMode()
Wikibase\Repo\Api\QuerySearchEntities::getCacheMode |
( |
|
$params | ) |
|
- See also
- ApiQueryBase::getCacheMode
- Parameters
-
- Returns
- string
◆ getExamplesMessages()
Wikibase\Repo\Api\QuerySearchEntities::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ getSearchResults()
Wikibase\Repo\Api\QuerySearchEntities::getSearchResults |
( |
array |
$params | ) |
|
|
private |
- Parameters
-
- Returns
- TermSearchResult[]
- Exceptions
-
◆ isInternal()
Wikibase\Repo\Api\QuerySearchEntities::isInternal |
( |
| ) |
|
◆ $entitySearchHelper
Wikibase\Repo\Api\QuerySearchEntities::$entitySearchHelper |
|
private |
◆ $entityTypes
Wikibase\Repo\Api\QuerySearchEntities::$entityTypes |
|
private |
◆ $termsLanguages
Wikibase\Repo\Api\QuerySearchEntities::$termsLanguages |
|
private |
◆ $titleLookup
Wikibase\Repo\Api\QuerySearchEntities::$titleLookup |
|
private |
The documentation for this class was generated from the following file: