RouterBase

Implements RouterInterface

Base 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

CMSApplicationApplication-object that the router should use

menu

AbstractMenuMenu-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.

Properties

app

Application object to use in the router

since

3.4

Type(s)

CMSApplication

menu

Menu object to use in the router

since

3.4

Type(s)

AbstractMenu