Hector, thank you for your responses. They do what I wanted to accomplish,
and even better have taught me a bit more about ZF (I've only been using it
for a few days).
Hector Virgen wrote:
>
> You could also try extending the dispatcher (
> Zend_Controller_Dispatcher_Standard) so that it pass
You could also try extending the dispatcher (
Zend_Controller_Dispatcher_Standard) so that it passes the params to the
controller's action method using call_user_func_array().
Take a look at this page if you want to go down that route (no pun intended
;))
http://framework.zend.com/manual/en/zend.c
You could create a route with X number of named parameters and make them all
optional:
:controller/:action/:arg1/:arg2/:arg3/:arg4/:arg5...
You can then create an action helper that gets all of those arg# parameters
and assigns them to the controller:
class Default_Controller_Helper_ParamFetcher
So rather than calling example.com/posts/archive/month/09/year/2008, I could
just call example.com/posts/archive/09/2008. I know this is possible by
defining custom routes, but I want my entire application to work this way,
so writing a custom route for each action would be a nightmare. Before ZF,