\JApplicationWebRouterBase
Basic Web application router class for the Joomla Platform.
Synopsis
class JApplicationWebRouterBase
extends JApplicationWebRouter
{
- // members
- protected $maps;
- // Inherited members from JApplicationWebRouter
- protected JApplicationWeb $app;
- protected $default;
- protected $controllerPrefix;
- protected JInput $input;
- // methods
- public JApplicationWebRouter addMap()
- public JApplicationWebRouter addMaps()
- protected string parseRoute()
- // Inherited methods from JApplicationWebRouter
- public void __construct()
- public mixed execute()
- public JApplicationWebRouter setControllerPrefix()
- public JApplicationWebRouter setDefaultController()
- protected abstract string parseRoute()
- protected JController fetchController()
Hierarchy
Members
protected
- $app — JApplicationWeb
- $controllerPrefix — string
- $default — string
- $input — JInput
- $maps — array
Methods
protected
- parseRoute() — Parse the given route and return the name of a controller mapped to the given route.
public
- addMap() — Add a route map to the router. If the pattern already exists it will be overwritten.
- addMaps() — Add a route map to the router. If the pattern already exists it will be overwritten.
Inherited from JApplicationWebRouter
protected
- fetchController() — Get a JController object for a given name.
- parseRoute() — Parse the given route and return the name of a controller mapped to the given route.
public
- execute() — Find and execute the appropriate controller based on a given route.
- setControllerPrefix() — Set the controller name prefix.
- setDefaultController() — Set the default controller name.