开发者

Cake php Pagination code like stack overflow site 1 2 .... 4 5 .....100(last)

how to create pagination like stack overflow site 1 2 3 4 5 … 69377 next in cakephp.where to write and how to write code开发者_JAVA技巧. please suggest complete code


Read about pagination in the Cookbook:

http://book.cakephp.org/2.0/en/core-libraries/components/pagination.html

and http://book.cakephp.org/2.0/en/core-libraries/helpers/paginator.html

There is a numbers() method in the PaginatorHelper. Read about it it in the API:

http://book.cakephp.org/2.0/en/core-libraries/helpers/paginator.html#creating-page-number-links

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜