Back to Joomla project (class list)

Class RouterLegacy - list of methods

Default routing class for missing or legacy component routers

Extends

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/RouterLegacy.php
Project: Joomla

Method Summary

public
(mixed $component)

Constructor
Parameters
  • string $component Component name without the com_ prefix this router should react upon
Since
  • 3.3
Show source code of this method: __construct Source Code

public array
(mixed $query)

Generic preprocess function for missing or legacy component router
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

public array
(mixed &$query)

Generic build function for missing or legacy component router
Parameters
  • array & $query An 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: build Source Code

public array
(mixed &$segments)

Generic parse function for missing or legacy component router
Parameters
  • array & $segments The segments of the URL to parse.
Returns
  • array The URL attributes to be used by the application.
Since
  • 3.3
Show source code of this method: parse Source Code

Properties Summary

protected string
$component
Name of the component
Since
  • 3.3

Tags Summary

Since
3.3