Back to Joomla project (class list)

Class StandardRules - list of methods

Rule for the standard handling of component routing

Extends

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

Method Summary

public
(\Joomla\CMS\Component\Router\RouterView $router)

Class constructor.
Parameters
  • \Joomla\CMS\Component\Router\RouterView $router Router this rule belongs to
Since
  • 3.4
Show source code of this method: __construct Source Code

public void
(mixed &$query)

Dummy method to fulfil the interface requirements
Parameters
  • array & $query The query array to process
Returns
  • void
Since
  • 3.4
Show source code of this method: preprocess Source Code

public void
(mixed &$segments, mixed &$vars)

Parse the URL
Parameters
  • array & $segments The URL segments to parse
  • array & $vars The vars that result from the segments
Returns
  • void
Since
  • 3.4
Show source code of this method: parse Source Code

public void
(mixed &$query, mixed &$segments)

Build a standard URL
Parameters
  • array & $query The vars that should be converted
  • array & $segments The URL segments to create
Returns
  • void
Since
  • 3.4
Show source code of this method: build Source Code

Properties Summary

protected \Joomla\CMS\Component\Router\RouterView
$router
Router this rule belongs to
Since
  • 3.4

Tags Summary

Since
3.4