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

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:33 UTC
Read the original article Hit count: 413

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?

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about php