JApplicationWebRouterBase::addMap
Add a route map to the router. If the pattern already exists it will be overwritten.
Signature
public function addMap(string
$pattern,
string
$controller )
Parameters
-
$pattern
- The route pattern to use for matching.
-
$controller
- The controller name to map to the given pattern.
Returns
- JApplicationWebRouter
- This object for method chaining.