Req #15901 [Opn->WFx]: New pager option
| From: | l dot alberton at quipo dot it | Date: | Sun, 29 Mar 2009 16:15:10 +0000 |
| Subject: | Req #15901 [Opn->WFx]: New pager option | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-275@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=15901&edit=1
ID: 15901
Updated by: l.alberton@quipo.it
Reported By: mick at deafzone dot ch
Summary: New pager option
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: Pager
Operating System: Apache 2.0
PHP Version: 5.2.8
-Assigned To:
+Assigned To: quipo
Roadmap Versions:
New Comment:
-Status: Open
+Status: Wont fix
-Assigned To:
+Assigned To: quipo
Have a look at Sliding.php and at the _getPageLinks() method. See how
the paging is implemented. I believe you can easily create your custom
driver from there, extending the amount of page numbers displayed at the
beginning and at the end, and conditionally adding the dots depending on
the current position (and the gap between the current window and the
borders).
Previous Comments:
------------------------------------------------------------------------
[2009-02-16 02:22:29] mick
Uh, I am unable to add a picture :(
Please contact me by email, then I am happy to send you the picture.
Greetings
Michael
------------------------------------------------------------------------
[2009-02-16 02:21:13] mick
Description:
------------
Hi
Your pager package is great. I'd like to have a new option where three
dots "..." appear in the middle of the pager.
Please see attachment, the picture says everything. Let me know if you
can implement such an option.
Thank you very much
Michael Heuberger
Test script:
---------------
Expected result:
----------------
Actual result:
--------------
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=15901&edit=1