JApplicationWebRouterBase
class JApplicationWebRouterBase extends JApplicationWebRouter
Basic Web application router class for the Joomla Platform.
Methods
mixed
execute(
string $route)
Find and execute the appropriate controller based on a given route.
setControllerPrefix(
string $prefix)
Set the controller name prefix.
setDefaultController(
string $name)
Set the default controller name.
addMap(
string $pattern,
string $controller)
Add a route map to the router. If the pattern already exists it will be overwritten.
addMaps(
array $maps)
Add a route map to the router. If the pattern already exists it will be overwritten.
Details
JApplicationWebRouter
addMap(
string $pattern,
string $controller)
Add a route map to the router. If the pattern already exists it will be overwritten.
JApplicationWebRouter
addMaps(
array $maps)
Add a route map to the router. If the pattern already exists it will be overwritten.