So this Z...C...R approach would route all requests to a single controller
and action, no?  But what if I want to allow something like this (but not
always):

[URI]/controller/var1/value1/var2/value2

while still allowing the standard:

[URI]/controller/action/var1/value1/var2/value2



Michał Minicki wrote:
> 
> spaceage <> napisał(a):
> 
>> Is there any way around this, ie. a "magic" way to signal default/index
>> for one or both of the controller/action designators and still pass in
>> parameters in their place(s) without confusing the router?
> 
> You are most probably trying to achieve something like below route. I.e.
> to 
> pass all requests to one controller and action and parse all the
> parameters 
> as dynamic var-value pairs. And if so - yes, it's possible.
> 
> $route = new Z...C...R_Route(
>     '*',
>     array('controller' => 'default', 'action' => 'index')
> )
> 
> 
> 
> -- 
> Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] |
> http://aie.pl/martel.asc
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> "Idleness is not doing nothing. Idleness is being free to do anything." 
>  -- Floyd Dell
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/URL-Routing-and-Params-tp19325888p19333814.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to