want to join us? register, it's easy | help
category icon

Playing with Zend_Navigation and routes

in PHP added by goodphptutorials, on 10/8/2009 Zend advanced tutorials framework routes

I wanted to set up routes in such way that when a user requests a page, all requests for non-existing controllers/modules are directed to a specific controller (not the error controller). In other words, if we have controllers IndexController, FooController and PageController, anything but http://example.com/index and http://example.com/foo is directed to the PageController.

comment save report
to add comments, create a free account, or sign in
no comments