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()
Wikibase\Repo\Api\QuerySearchEntities::__construct |
( |
ApiQuery | $apiQuery, |
|
|
string | $moduleName, |
|
|
LinkBatchFactory | $linkBatchFactory, |
|
|
EntitySearchHelper | $entitySearchHelper, |
|
|
EntityTitleLookup | $titleLookup, |
|
|
ContentLanguages | $termsLanguages, |
|
|
array | $entityTypes, |
|
|
array | $searchProfiles ) |
◆ execute()
Wikibase\Repo\Api\QuerySearchEntities::execute |
( |
| ) |
|
◆ executeGenerator()
Wikibase\Repo\Api\QuerySearchEntities::executeGenerator |
( |
| $resultPageSet | ) |
|
◆ factory()
static Wikibase\Repo\Api\QuerySearchEntities::factory |
( |
ApiQuery | $apiQuery, |
|
|
string | $moduleName, |
|
|
LinkBatchFactory | $linkBatchFactory, |
|
|
array | $enabledEntityTypes, |
|
|
array | $entitySearchHelperCallbacks, |
|
|
EntityTitleLookup | $entityTitleLookup, |
|
|
SettingsArray | $repoSettings, |
|
|
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
-
ApiUsageException
◆ isInternal()
Wikibase\Repo\Api\QuerySearchEntities::isInternal |
( |
| ) |
|
◆ $entitySearchHelper
Wikibase\Repo\Api\QuerySearchEntities::$entitySearchHelper |
|
private |
◆ $entityTypes
Wikibase\Repo\Api\QuerySearchEntities::$entityTypes |
|
private |
◆ $linkBatchFactory
LinkBatchFactory Wikibase\Repo\Api\QuerySearchEntities::$linkBatchFactory |
|
private |
◆ $searchProfiles
Wikibase\Repo\Api\QuerySearchEntities::$searchProfiles |
|
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: