RouterBase

Implements RouterInterface

Base component routing class

abstract
since

3.3

package

Application

Methods

__construct

Class constructor.

__construct(\Joomla\CMS\Application\CMSApplication app = null, \Joomla\CMS\Menu\AbstractMenu menu = null) : mixed
since

3.4

Arguments

app

\Joomla\CMS\Application\CMSApplicationApplication-object that the router should use

menu

\Joomla\CMS\Menu\AbstractMenuMenu-object that the router should use

Response

mixed

preprocess

Generic method to preprocess a URL

preprocess(array query) : array
since

3.3

Arguments

query

arrayAn associative array of URL arguments

Response

arrayThe 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