Back to Joomla project (class list)

Class RulesInterface - list of methods

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

Method Summary

public void
(mixed &$query)

Prepares a query set to be handed over to the build() method.
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)

Parses a URI to retrieve information for the right route through the component.
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)

Builds URI segments from a query to encode the necessary information for a route in a human-readable 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

Tags Summary

Since
3.4