[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Component/Router/Rules/ -> MenuRules.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: 276 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MenuRules:: (5 methods):
  __construct()
  preprocess()
  buildLookup()
  parse()
  build()


Class: MenuRules  - X-Ref

Rule to identify the right Itemid for a view in a component

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

param: RouterView  $router  Router this rule belongs to

preprocess(&$query)   X-Ref
Finds the right Itemid for this query

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

buildLookup($language = '*')   X-Ref
Method to build the lookup array

param: string  $language  The language that the lookup should be built up for
return: void

parse(&$segments, &$vars)   X-Ref
Dummy method to fulfil the interface requirements

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
Dummy method to fulfil the interface requirements

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