Yes you are right.

I got it to work but there was one "gotcha".  I needed to set the "reset"
parameter to true, to let the parameters to sort properly.

This is the view helper I created (basically a copy/paste of the actual view
helper URL class, you can, of course, just extend as Hector did)
http://pastie.org/1236307

Notice, that I set $reset = true, if $sort=true.  This is just an extra
check to make sure it works, in case one forgets.

Then, basically I create a link HTML in the view script as such:
http://pastie.org/1236403

And if anyone's not familiar with custom view scripts, you have to register
them in your bootstrap file like this:
http://pastie.org/1236410

That seemed to do the trick.
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Generating-URL-s-View-Helper-Action-Helper-tp3002936p3004521.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to