[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Component/Router/Rules/ -> StandardRules.php (summary)

Joomla! Content Management System

Copyright: (C) 2016 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 279 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

StandardRules:: (4 methods):
  __construct()
  preprocess()
  parse()
  build()


Class: StandardRules  - X-Ref

Rule for the standard handling of component routing

__construct(RouterView $router)   X-Ref
Class constructor.

param: RouterView  $router  Router this rule belongs to

preprocess(&$query)   X-Ref
Dummy method to fulfil the interface requirements

param: array  &$query  The query array to process
return: void

parse(&$segments, &$vars)   X-Ref
Parse the URL

param: array  &$segments  The URL segments to parse
param: array  &$vars      The vars that result from the segments
return: void

build(&$query, &$segments)   X-Ref
Build a standard URL

param: array  &$query     The vars that should be converted
param: array  &$segments  The URL segments to create
return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer