Zend's default router sees them as being equivalent:
/controller/action/param/value
/controller/action?param=value
so in both cases
$this->getRequest()->getParam('param'); //returns 'value'
However, if you're wanting something like:
/search/value
then yes, you'll need to do the rewrite server-side.
--
View this message in context: http://n4.nabble.com/Changing-get-parameters-to-controller-action-param-value-param-value-tp1574578p1574935.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论