kamikaze_pilot kamikaze_pilot - 1 year ago 154
PHP Question

get a list of defined zend routes

so you can add routes in zend framework with Zend Router's addRoute() method...

but what if I want to get a list of all the defined routes? is there a method that I can use to do so?

Answer Source

If you are using the Rewrite routing you can call getRoutes() in Zend_Controller_Router_Rewrite. This will give you an array of all chained routes.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download