In Kohana/CodeIgniter, I can have a URL in this form:
http://www.name.tld/controller_name/method_name/parameter_1/parameter_2/parameter_3 ...
And then read the parameters in my controller as follows:
class MyController { public function method_name($param_A, $param_B, $param_C ...) { // ... code } }
How do you achieve this in the Zend Framework?
Update (04/13/2016): The link in my answer below moved and has been fixed. However, just in case it disappears again — here are a few alternatives that provide some in depth information on this technique, as well as use the original article as reference material:
@Andrew Taylor‘s response is the proper Zend Framework way of handling URL parameters. However, if you would like to have the URL parameters in your controller’s action (as in your example) – check out this tutorial on Zend DevZone.