Default route that modifies the response type based on an extension applied to the route path.
For example, "test/index.json" will return a response type of json. If a match is found, the extension is stripped off so subsequent rules won't receive it. Using the example above, it would return a route path of "test/index".
This class never returns a route match with a controller and action specified.
package | XenForo_Mvc |
---|
match(string $routePath, \Zend_Controller_Request_Http $request, \XenForo_Router $router) : false | \XenForo_RouteMatch
See XenForo_Route_Interface for further details.
string
Routing path
\Zend_Controller_Request_Http
Request object
false
\XenForo_RouteMatch