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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With