土豆℡↘ぁ丝 发表于 2012-9-19 22:45:56

CI分页类,还是分享吧

{:soso_e141:}CI自带的分页类就不吐槽了,,很多同学也发过分页类 这里,我还是分享下我的分页类吧
上图:

css 什么的自己写写吧,这个难不倒我们程序员们!


上面这个是分页类,放入 application\libraries中


下面的代码是控制器调用的方法
数组data保存着 分页类一些必要的信息,这些信息从哪里里,聪明的你们应该知道哇~~这里不多说了哈

//$currentpage, $page_size, $total
      $data = array(
            'page' => $currentPage,   //当前页
            'page_size' => $pageSize,    //分页总大小
            'total' => $countnum      //总页数
      );
      $this->load->library('pagination',$data);      //载入分页类
      //$this->pagination->show();                  //在view视图执行这个就可以啦!



下面是view调用的代码,这里就会在view视图的地方打印出页数啦,

<?php
                $this->pagination->show();
            ?>


参数传递的方式是这样的同学们懂了吧···{:soso_e113:}








goyuquan 发表于 2014-4-11 17:39:26

CI分页确实会死人

aqxinzhuan 发表于 2014-8-11 11:29:14

先做个记号,收藏

goyuquan 发表于 2014-4-15 11:05:23

为什么要自己写

gs129090 发表于 2012-10-8 19:57:54

支持{:1_1:}{:1_1:}{:1_1:}

jlxu1101 发表于 2012-11-13 12:10:09

请教楼主,ci自带的分页类有什么问题,你是通过测试还是道听途说的?

天意 发表于 2012-12-15 00:07:45


A PHP Error was encountered

Severity: Notice

Message: Undefined property: pagination::$page

Filename: libraries/Pagination.php

Line Number: 33
A PHP Error was encountered

Severity: Notice

Message: Undefined property: pagination::$page_size

Filename: libraries/Pagination.php

Line Number: 34
A PHP Error was encountered

Severity: Notice

Message: Undefined property: pagination::$total

Filename: libraries/Pagination.php

Line Number: 35

ichou 发表于 2012-12-15 15:24:39

jlxu1101 发表于 2012-11-13 12:10 static/image/common/back.gif
请教楼主,ci自带的分页类有什么问题,你是通过测试还是道听途说的?

我自己觉得CI自带的分页来在构造函数和初始化函数的逻辑上有个小BUG(其实也算不上吧)
http://codeigniter.org.cn/forums/thread-14869-1-1.html

另外很多人都觉得CI的分页不是始终现实上一页下一页而是视情况而定也是一个问题(我倒是不觉得啦~)

muvtou 发表于 2013-3-17 23:23:00

强烈支持一下

maojindao 发表于 2013-7-17 11:18:04

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Pagination::$page

Filename: libraries/pagination.php

Line Number: 33

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Pagination::$page_size

Filename: libraries/pagination.php

Line Number: 34

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Pagination::$total

Filename: libraries/pagination.php

Line Number: 35

maojindao 发表于 2013-7-17 11:22:31

天意 发表于 2012-12-15 00:07 static/image/common/back.gif
A PHP Error was encountered

Severity: Notice


我的也是报错   这种情况 ,,, 求解释

xcps 发表于 2013-8-6 11:05:50

有问题!$this->load->library('pagination',$data);这条语句中,你的$data传不进去,data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeIAAAGBCAIAAAA16yUAAAAgAElEQVR4nO2dv2vcyP//87dsYW2TwgGDU8RH1vD5mqzPeEMgiTHpNudccXaSt9wHArnq4FwpaXPlEQhbCcJde2Vw5eVIe20g1brKt9CPmdG8RhqtfswPPeFRJPLo12jmqeeONE/dCMajmmwfzydb1J+2Dh6cHNysv0EAAABKbpBL/+//3aWW3zycPzk52D482N49ehIebYt/3T5+Pt01fT4AAOAZtEyXsHXwIHz+5HhCLIeVBgCA1mnLTd88nD843DJ/PgAA4Bm13TQ9Nj2ZSmMgAAAAWqCWm1YBKw0AAF2xhpuW2JqcKN79AAAA0JAW3PTuEfFE0U6+37ghY/yoAACghMYi5YiVJgW6XYyfIwDAS1oZm7adHjTaXSl398gBGAj+dz/j0uwTxq8mAAPE/45nXNq8xPhlBWA4+NzfjGuZ9xi/xAAMAT97mnH9GhrGrzgAHlO/gz37+PT9aceHdRavvq0y4vN6q9fVFOMa5w3GWzMAXlK7a9168/n4zb2OD+ssXi3C5N+zi6vVZTTTXbclNeEOQBvjKmkPBhs0AP5R2qOefXy6/Pp0+fXp8uOddOG9vb++3n9WKHlv76+vWcnPe/ekhX/9fksuyRbK8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CLqHPoNN6CYY4hgbctOeg63oDhqEHCy6k56D3egCkeeDATXsOerLrQKABLq3noEu7C0w0SICb9hx0bBeBQAMeXGP/QSe3HzweBCXATfsP+rzNQKBBJbjkgwASYBtrqDMu0GCBmx4Ea4vCYLGw8o23ImAKXPuhYFz4XMSSOjTeeIBZ4KYHhHHVA3Ux3maADaAdDBHj6gMqMd5IgD3ATQ8X40oEChhvEsBO0DKGjnFtAt8h0KAUuGnAMK5Ww8H4tQYOgeYCgABEGdiGF2462F9uvIiDJhvR/lhJ8pHW9fYyu7iiP1xrjkaHZPgT2p0CtQX24EXLo2V6M9p4cZ2i+PJ3htan//iPtLIPX8lSVfq17F5lWkNGGx6SzsdtAQDN8MJNkwSPK9U55XxR/b3B2cXVahESH2mtI9MNUH1Iu5Q+3C71IW0AQJu47qZzy/y4oEezYK6pa1pCk8r0NFoy4Qtj8tuyZ/FqEUWXycJsy9NomRQTdXN2cZWtXmXnkzPdKRx5vnd2Ctw2092dL67ixdXq22p5EcV5YfKQhIPXGt6BoQagY/xw0zsxJ9OzYH7NhjteXG/Mo7Jha13LmWpiUZJIN51J9uziSihfKFz7692zYC7fkNIdpVs+i1f5NrPdnS9Wq0U4PotX366i6Sy65PS3cEglB9+0AgEA6+G6m04QZDpB203XUZncqOqOTcsiKBSeRZeyaeVuM5QiB4/ZjYcfLs8VWT62dGH63yqZVh18SQXWu9kAAGrhoZtO6ESmmd5JjpXeYIVMp4eaDDJUjo8X3bTCOBuQabhpADoEbnoaLbUfgiVv480urgR9LHmoqCXTwVhrhCEsjk2zXYdx5qbZ6Ecy9Ny9TOuOjQAA1uT/A1XYxCOIr0EDAAAAAElFTkSuQmCC定义的变量写错了吧。。。楼主,你是怎么实现分页的???

Peilun 发表于 2013-10-21 17:59:20

很好用!!!
另外也修改成能加搜尋條件分頁!!!
页: [1] 2
查看完整版本: CI分页类,还是分享吧