l.t.b.t.POTMsgSetBatchNavigator(BatchNavigator) : class documentation

Part of lp.translations.browser.translationmessage View In Hierarchy

No class docstring
Method __init__ Constructs a BatchNavigator instance.
Method generateBatchURL Return a custom batch URL for ITranslationMessage's views.

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=1):
Constructs a BatchNavigator instance.

results is an iterable of results. request is the web request being processed. size is a default batch size which the callsite can choose to provide.

Why a custom BatchNavigator is required is a great mystery and should be documented here.

def generateBatchURL(self, batch, backwards=False):
Return a custom batch URL for ITranslationMessage's views.
API Documentation for Launchpad, generated by pydoctor at 2019-10-20 00:00:13.