l.a.b.r.SiteSearchBatchNavigator(BatchNavigator) : class documentation

Part of lp.app.browser.root View In Hierarchy

A batch navigator with a fixed size of 20 items per batch.
Method __init__ See BatchNavigator.
Method determineSize Undocumented

Inherited from BatchNavigator:

Method default_batch_size Undocumented
Method max_batch_size Undocumented
Method has_multiple_pages Whether the total size is greater than the batch size.
def __init__(self, results, request, start=0, size=20, callback=None, transient_parameters=None, force_start=False, range_factory=None):
See BatchNavigator.
ParametersresultsA PageMatches object that contains the matching pages to iterate over.
requestAn IBrowserRequest that contains the form parameters.
startan int that represents the start of the current batch.
sizeThe batch size is fixed to 20, The param is not used.
callbackNot used.
def determineSize(self, size, batch_params_source):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.