2008年12月29日星期一

[fw-mvc] Zend_Paginator identify last item of last page

Hi to all,

how I can identify the last item in my paginator?
NOT the last in the current page, but the last item in the last page.

For example: I have 100 items paginated into 5 pages (20 items per
page); I need to display custom content only for the 100th (the last
of all).

I've tried with getTotalItemCount(), getCurrentItemCount() and so on
but without success...
Also googled around and look into API core doc but nothing useful
found...

Thanks in advance

---
Emanuele Deserti
Netwing S.r.l.
<emanuele.deserti@netwing.it>
Tel. 0532-1915183
http://www.netwing.it

没有评论: