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

def Localizer::MessageCatalog::MessageCatalog::get_url (   self,
  url,
  batch_start,
  batch_size,
  regex,
  lang,
  empty,
  kw 
)

Definition at line 243 of file MessageCatalog.py.

00243                                                                              :
        """ """
        params = []
        for key, value in kw.items():
            params.append('%s=%s' % (key, quote(value)))

        params.extend(['batch_start:int=%d' % batch_start,
                       'batch_size:int=%d' % batch_size,
                       'regex=%s' % quote(regex),
                       'empty=%s' % (empty and 'on' or '')])

        if lang:
            params.append('lang=%s' % lang)

        return url + '?' + '&'.join(params)

    def to_unicode(self, x):


Generated by  Doxygen 1.6.0   Back to index