Zend Framework Router Getting /module/VALUE/controller/action
Posted
by cappuccino
on Stack Overflow
See other posts from Stack Overflow
or by cappuccino
Published on 2010-04-17T14:36:19Z
Indexed on
2010/04/17
14:43 UTC
Read the original article
Hit count: 297
I've been googling around and I can't seem to find anything which explains the use of ZF router well. I've read the documentation on the site, which seems to only talk about re-routing.
I am trying to make the format: /module/value/controller/action give /module/controller/action passing on value as a parameter
e.g. /store/johnsmithbigsale/home/newstuff would route to /store/home/newstuff passing on johnsmithbigsale as the value to a parameter with a hidden namespace e.g. storeName.
Some help would be greatful!
© Stack Overflow or respective owner