定制 linice/pagination 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

linice/pagination

Composer 安装命令:

composer require linice/pagination

包简介

Php pagination, visited by direct view page(not ajax), and use bootstrap css.

README 文档

README

Pagination contains an instantiable class, along with a view which renders the pagination markup.

The purpose of this library is to provide a simple API to render pagination markup, without having to worry about including common files and set too many settings. With this class, you simply pass in your parameters and make a call to the instance's * method.

Pagination using bootstrap theme(css), so just include bootstrap.css in your view page.

` php <?php // source inclusion require_once PRJ_PATH . '/vendor/pagination/Pagination.class.php';

use Pagination;

// determine page (based on <_GET>) $page = isset($_GET['page']) ? ((int) $_GET['page']) : 1; // instantiate; set current page; set number of records $pagination = new Pagination(); $pagination->setCurrent($page); $pagination->setRPP(15); $pagination->setTotal(200); // grab rendered/parsed pagination markup $pager = $pagination->parse();

`

统计信息

  • 总下载量: 109
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-03-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固