StandardRules

Implements RulesInterface

Rule for the standard handling of component routing

since

3.4

package

Joomla CMS

Methods

__construct

Class constructor.

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

3.4

Arguments

router

RouterViewRouter this rule belongs to

Response

mixed

build

Build a standard URL

build(mixed||string|int &query, mixed||string|int &segments) : 
since

3.4

Arguments

query

array<string|int, mixed>The vars that should be converted

segments

array<string|int, mixed>The URL segments to create

Response

void

parse

Parse the URL

parse(mixed||string|int &segments, mixed||string|int &vars) : 
since

3.4

Arguments

segments

array<string|int, mixed>The URL segments to parse

vars

array<string|int, mixed>The vars that result from the segments

Response

void

preprocess

Dummy method to fulfil the interface requirements

preprocess(mixed||string|int &query) : 
since

3.4

Arguments

query

array<string|int, mixed>The query array to process

Response

void

Properties

router

Router this rule belongs to

since

3.4

Type(s)

RouterView