【文件属性】:
文件名称:yii2-pager:分页的上一个和下一个链接(圆形链接)
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-27 07:28:14
PHP
Yii 2 的寻呼机小工具
快速上一个和下一个链接,用于使用轻型标记和样式的简单分页实现。 它非常适合博客或杂志等简单网站。 基于 。
用法
<?php
echo \chiliec\pager\ Pager :: widget ([
'tableName' => $ model -> tableName (),
'currentId' => $ model -> id , // current primary key
'path' => 'story/view' , // path for link
// optional fields in most cases
'primaryKey' => 'id' , // name of primary key column
'title'
【文件预览】:
yii2-pager-master
----LICENSE.md(1KB)
----composer.json(745B)
----Pager.php(4KB)
----README.md(2KB)