【发布时间】:2013-04-06 01:44:59
【问题描述】:
我正在使用 CodeIgniter 分页库来构建我的页面链接。 我为我的分页定义了一个配置数组变量,如下所示:
$config['use_page_numbers'] = true;
我所有的 URL 看起来都像 http://domain.com/class/function/#(其中 # 是我所在的页码)。但是,第一页看起来像 http://domain.com/class/function 并且缺少第一页 (#1)。
如果 URL 中没有页码,CodeIgniter 中是否有显示第一页的内置方法?
【问题讨论】:
标签: php codeigniter url pagination