Yes, but I want to do one rewrite route for all actions.. I mean change the default router. For example, very often I need just one paramater, so it doesn't make too much sense to pass param name too.. I'd like to get one_param from /controller/action/one_param.. Any way to do that with getParam() ? And how I must rewrite the route to leave the /key/value behavior and just add /value behavior..
On Wed, Feb 27, 2008 at 5:07 PM, James Dempster <[EMAIL PROTECTED]> wrote: > You might find that this is more what you are looking for? > http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.basic > > > > On Wed, Feb 27, 2008 at 12:57 PM, Nicolae Namolovan <[EMAIL PROTECTED]> > wrote: > > Is it possible to do a default router with same characteristics as current > one: > > > > Module + controller + action + params: > > > > But also with > > Module + controller + action + 1param: > > Example: > > /some/list/1 > > > > And getParam(0) should return 1.. ? > > > > -- > > Sincerely, > > Nicolae Namolovan. > > > > > > -- > /James -- Sincerely, Nicolae Namolovan.
