NomenuRules

Implements RulesInterface

Rule to process URLs without a menu item

since

3.4

package

Application

Methods

__construct

Class constructor.

__construct(\Joomla\CMS\Component\Router\RouterView router) : mixed
since

3.4

Arguments

router

\Joomla\CMS\Component\Router\RouterViewRouter this rule belongs to

Response

mixed

build

Build a menu-less URL

build(array &query, array &segments) : void
since

3.4

Arguments

query

arrayThe vars that should be converted

segments

arrayThe URL segments to create

parse

Parse a menu-less URL

parse(array &segments, array &vars) : void
since

3.4

Arguments

segments

arrayThe URL segments to parse

vars

arrayThe vars that result from the segments

preprocess

Dummy method to fulfil the interface requirements

preprocess(array &query) : void
since

3.4

Arguments

query

arrayThe query array to process

Properties

router

Router this rule belongs to

since

3.4

Type(s)

RouterView