Logo Search packages:      
Sourcecode: zope-localizer version File versions  Download package

def Localizer::LocalPropertyManager::LocalPropertyManager::get_batch_start (   self,
  start,
  index 
)

Returns the right batch_start, used in the web interfaces.

Definition at line 117 of file LocalPropertyManager.py.

00117                                            :
        """
        Returns the right batch_start, used in the web interfaces.
        """
        # Get the size of the batch
        size = self.get_batch_size()

        start2 = index - size + 1
        if start2 < 0:
            start2 = 0

        if start < start2:
            return start2

        return start


    security.declarePublic('get_url')
    def get_url(self, url, batch_start, batch_index, lang_hide, **kw):


Generated by  Doxygen 1.6.0   Back to index