RouterBase
Implements RouterInterfaceBase component routing class
abstract
since |
3.3 |
---|---|
package |
Joomla CMS |
Methods
__construct
Class constructor.
__construct(\Joomla\CMS\Application\CMSApplication app = null, \Joomla\CMS\Menu\AbstractMenu menu = null) :
since |
3.4 |
---|
Arguments
- app
CMSApplication
Application-object that the router should use- menu
AbstractMenu
Menu-object that the router should use
Response
mixed
preprocess
Generic method to preprocess a URL
preprocess(mixed||string|int query) : mixed||string|int
since |
3.3 |
---|
Arguments
- query
array<string|int, mixed>
An associative array of URL arguments
Response
array<string|int, mixed>
The URL arguments to use to assemble the subsequent URL.