Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/z/a/zarkpy-HEAD/web/cgi/modeldecorator/Pagination.py   zarkpy(Download)
    def getPaginationHtml(self, env=None):
        env = sh.copy(env) if env is not None else {}
        return '<div fx="paging[style=zarkpy;pageCount=%d;totalCount=%d;displayPages=10;firstText=第一页;lastText=末页;]"></div>' % (env.get('paging_volume', self.arguments.paging_volume), self.getCount(env)) if env.get('paging', self.arguments.paging) else ''
 
    def __getLimit(self, page_num, volume):