How can I setup a simple custom route using Zend Framework?

Posted by Billy ONeal on Stack Overflow See other posts from Stack Overflow or by Billy ONeal
Published on 2010-04-13T00:23:04Z Indexed on 2010/04/13 0:43 UTC
Read the original article Hit count: 351

Filed under:
|
|
|

I'm looking to setup a custom route which supplies implicit parameter names to a Zend_Application. Essentially, I have an incoming URL which looks like this:

/StandardSystems/Dell/LatitudeE6500

I'd like that to be mapped to the StandardsystemsController, and I'd like that controller to be passed parameters "make" => "Dell" and "model" => "LatitudeE6500".

How can I setup such a system using Zend_Application and Zend_Controller_Router?

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about php