Just been using this for the first time today, can I suggest an improvement
(subject to opinion obv!).

When calling the view helper would it not be better to store the values
passed to it for future use thus allowing you to echo the control again with
the same settings without setting them again. If the attributes were set
then it would over write those set and basically start again.

I have extended the class to do this in my own framework and thought it
might be useful, I like to have the paging controls at the top and the
bottom.

It would also be good if the view helper tried to detect the paginator
instance in the view itself. The docs suggest calling it $view->paginator
would it not make sense for the helper to use this by default unless another
instance is supplied in the helper call?

Therefore you get easy helper methods for reuse but retain the ability to
use multiple instances with different displays.

Otherwise it works very well.

-----
Simon

http://www.ajb007.co.uk/
-- 
View this message in context: 
http://www.nabble.com/Zend_Paginator-tp19245710p19245710.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to