|
The Yaf_Route_Simple classIntroductionYaf_Route_Simple will match the query string, and find the route info. all you need to do is tell Yaf_Route_Simple what key in the $_GET is module, what key is controller, and what key is action.
Yaf_Route_Simple::route will always return
Class synopsisYaf_Route_Simple
class Yaf_Route_Simple
implements
Yaf_Route_Interface {
/* Properties */
protected
$controller;
protected
$module;
protected
$action;
/* Methods */
public __construct(string
$module_name , string $controller_name , string $action_name )public string assemble(array
$info , array $query = ?)public bool route(Yaf_Request_Abstract
}$request )Properties
|