Re: Is Pear RADy ?
| From: | Lorenzo Alberton | Date: | Mon, 19 Jul 2004 07:22:33 +0000 |
| Subject: | Re: Is Pear RADy ? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13742@lists.php.net to get a copy of this message | ||
On Sun, 18 Jul 2004 23:55:38 -0700, Clay Loveless wrote:
>> Pager does not generate HTML.
>> [snip]
>> Or did I miss something, is what I need available in Pear ?
>> Pointers ?
>>
> Looks like you may have missed something ... See this:
>
> http://pear.php.net/manual/en/package.html.pager.intro.php
>
> The first example contains:
>
> echo $pager->linkTags;
>
> The linkTags variable is described in the API docs as "A complete
> set of link tags".
>
> There's your HTML! : )
well, linkTags shows the <link rel="first|prev|next|last"> tags,
you may be more interested in $pager->links, that shows
the <a href=""> tags with the page numbers.
Anyway, if you look at the documentation (i.e. the link Clay
posted above) you'll find out by yourself.
Regards,
--
Lorenzo Alberton
http://pear.php.net/user/quipo