【发布时间】:2018-06-21 12:16:24
【问题描述】:
我想删除
我有这个 index.ctp 我放置分页的地方
<div class="paginator">
<ul class="pagination">
<?= $this->Paginator->prev('< ' . __('previous')) ?>
<?= $this->Paginator->numbers() ?>
<?= $this->Paginator->next(__('next') . ' >') ?>
</ul>
<p><?= $this->Paginator->counter() ?></p>
</div>
这是我在控制器索引方法中的代码
public function index()
{
$website= $this->set('websites', $this->paginate());
$this->set('website', $website);
$this->set('_serialize', ['website']);
}
这也发生在我想删除的最后一个分页中>>
【问题讨论】:
-
CakePHPs 分页器助手不会生成带有
«或»的导航控件,它们必须来自其他地方,可能是插件,也可能是脚本......除非你可以显示它的来源,实在是没法给你一个具体的答案。
标签: cakephp pagination cakephp-3.0