[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 1 class

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


Class: RouterLegacy  - X-Ref

Default routing class for missing or legacy component routers

__construct($component)   X-Ref
Constructor

param: string  $component  Component name without the com_ prefix this router should react upon

preprocess($query)   X-Ref
Generic preprocess function for missing or legacy component router

param: array  $query  An associative array of URL arguments
return: array  The URL arguments to use to assemble the subsequent URL.

build(&$query)   X-Ref
Generic build function for missing or legacy component router

param: array  &$query  An array of URL arguments
return: array  The URL arguments to use to assemble the subsequent URL.

parse(&$segments)   X-Ref
Generic parse function for missing or legacy component router

param: array  &$segments  The segments of the URL to parse.
return: array  The URL attributes to be used by the application.



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