Wikibase
MediaWiki Wikibase extension
|
A cursor for paging through EntityIds. More...
Public Member Functions | |
fetchIds ( $limit) | |
Fetches the next batch of IDs. More... | |
Public Attributes | |
const | NO_REDIRECTS = 'no' |
Omit redirects from entity listing. More... | |
const | INCLUDE_REDIRECTS = 'include' |
Include redirects in entity listing. More... | |
const | ONLY_REDIRECTS = 'only' |
Include only redirects in listing. More... | |
A cursor for paging through EntityIds.
Wikibase\DataModel\Services\EntityId\EntityIdPager::fetchIds | ( | $limit | ) |
Fetches the next batch of IDs.
Calling this has the side effect of advancing the internal state of the page, typically implemented by some underlying resource such as a file pointer or a database connection.
int | $limit | The maximum number of IDs to return. |
Implemented in Wikibase\Repo\Store\Sql\SqlEntityIdPager, Wikibase\Repo\IO\EntityIdReader, and Wikibase\DataModel\Services\EntityId\InMemoryEntityIdPager.
const Wikibase\DataModel\Services\EntityId\EntityIdPager::INCLUDE_REDIRECTS = 'include' |
Include redirects in entity listing.
const Wikibase\DataModel\Services\EntityId\EntityIdPager::NO_REDIRECTS = 'no' |
Omit redirects from entity listing.
const Wikibase\DataModel\Services\EntityId\EntityIdPager::ONLY_REDIRECTS = 'only' |
Include only redirects in listing.