The Yaf_Route_Simple class
Yaf_Route_Simple resolves the route info from the query string. All you need to do is tell Yaf_Route_Simple which key in $_GET is the module, which key is the controller, and which key is the action.
Intro
Yaf_Route_Simple resolves the route info from the query string. All you need to do is tell Yaf_Route_Simple which key in $_GET is the module, which key is the controller, and which key is the action.
Yaf_Route_Simple::route claims the request (returns true) as soon as at least one of those keys is present in the query string, so routes registered after it in the stack will not be tried for such a request. It only passes (returns false) when none of the configured keys appear.
Class synopsis
Properties
controllermoduleaction
Yaf-route-simple