Wikibase
MediaWiki Wikibase extension
|
A cursor for paging through EntityIds. More...
Public Member Functions | |
fetchIds ( $limit) | |
Fetches the next batch of IDs. | |
Public Attributes | |
const | NO_REDIRECTS = 'no' |
Omit redirects from entity listing. | |
const | INCLUDE_REDIRECTS = 'include' |
Include redirects in entity listing. | |
const | ONLY_REDIRECTS = 'only' |
Include only redirects in listing. | |
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\DataModel\Services\EntityId\InMemoryEntityIdPager, Wikibase\Repo\IO\EntityIdReader, and Wikibase\Repo\Store\Sql\SqlEntityIdPager.
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.