yii分页

关于分页有一个重要的类CPagination。

CPagination represents information relevant to pagination.

http://www.yiiframework.com/doc/api/1.1/CPagination
When data needs to be rendered in multiple pages, we can use CPagination to represent information such astotal item countpage sizecurrent page, etc. These information can be passed to pagers to render pagination buttons or links. 

CLinkPager:

CLinkPager displays a list of hyperlinks that lead to different pages of target.

http://www.cnblogs.com/DavidYan/articles/2073431.html

上一篇:[Usaco2007 Open]Fliptile 翻格子游戏


下一篇:include设置属性在relativelayout布局中无效