RouterBase
Implements \Joomla\CMS\Component\Router\RouterInterfaceBase component routing class
abstract
since |
3.3 |
---|
Methods
__construct
Class constructor.
__construct(\JApplicationCms $app = null, \JMenu $menu = null)
since |
3.4 |
---|
Arguments
- $app
\JApplicationCms
Application-object that the router should use- $menu
\JMenu
Menu-object that the router should use
preprocess
Generic method to preprocess a URL
preprocess(array $query) : array
For example it can add the Itemid or set a language parameter. This method is executed on each URL, regardless of SEF mode switched on or not.
since |
3.3 |
---|
Arguments
- $query
array
An associative array of URL arguments
Response
array
The URL arguments to use to assemble the subsequent URL.
Properties
app
Application object to use in the router
since |
3.4 |
---|
Type(s)
\JApplicationCms