Back to Joomla project (class list)

Class RouterBase - list of methods

Base component routing class

Extends

Direct known subclasses

Package: Joomla\CMS\Component\Router
Copyright: (C) 2014 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Component/Router/RouterBase.php
Project: Joomla

Method Summary

public
(mixed $app = null, mixed $menu = null)

Class constructor.
Parameters
  • \Joomla\CMS\Application\CMSApplication $app Application-object that the router should use
  • \Joomla\CMS\Menu\AbstractMenu $menu Menu-object that the router should use
Since
  • 3.4
Show source code of this method: __construct Source Code

public array
(mixed $query)

Generic method to preprocess a URL
Parameters
  • array $query An associative array of URL arguments
Returns
  • array The URL arguments to use to assemble the subsequent URL.
Since
  • 3.3
Show source code of this method: preprocess Source Code

Properties Summary

public \Joomla\CMS\Application\CMSApplication
$app
Application object to use in the router
Since
  • 3.4
public \Joomla\CMS\Menu\AbstractMenu
$menu
Menu object to use in the router
Since
  • 3.4

Tags Summary

Since
3.3