Re: Pager_Sliding using strings?
| From: | Lorenzo Alberton | Date: | Fri, 25 Jul 2003 19:31:14 +0000 |
| Subject: | Re: Pager_Sliding using strings? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6827@lists.php.net to get a copy of this message | ||
On Fri, 25 Jul 2003 18:12:25 +0100, Davey wrote:
> What I have is a database with contestants in it, what I want is a
> slide show of the contestants details, and I want the links to be
> the contestants names, not their page number/database id.
> Note that the not all contestants are in every competition and
> therefore their numbers are not sequential
I see. Well, maybe you should consider extending Pager or
Pager_Sliding and overriding the _getPageLinks(), _getBackLink()
and _getNextLink() methods.
But for your purpose, maybe a simple custom pager would be
easier to implement... dunno.
Lorenzo