Back to Joomla project (class list)

Class RouterInterface - list of methods

Component routing interface
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/RouterInterface.php
Project: Joomla

Method Summary

public array
(mixed $query)

Prepare-method for URLs This method is meant to validate and complete the URL parameters.
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)

Build method for URLs This method is meant to transform the query parameters into a more human readable form. It is only executed when SEF mode is switched on.
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)

Parse method for URLs This method is meant to transform the human readable URL back into query parameters. It is only executed when SEF mode is switched on.
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

Tags Summary

Since
3.3