Yaf_Route_Map::routeRoute a request Description
public bool Yaf_Route_Map::route(Yaf_Request_Abstract
$request)Route the request by mapping the whole URI to a controller name or an action name: the path segments of the URI are joined with underscores to form the name. When the route was constructed with the controller prefer flag on, the result is set as the controller name, otherwise as the action name. Parameters
Return ValuesAlways returns ExamplesExample #1 Yaf_Route_Map::route example The above example will output something similar to: bool(true) string(15) "product_foo_bar" Example #2 Yaf_Route_Map::route example The above example will output something similar to: bool(true) string(9) "User_List" string(2) "22" See Also
|