RouterLegacy

Implements RouterInterface

Default routing class for missing or legacy component routers

since

3.3

package

Joomla CMS

Methods

__construct

Constructor

__construct( component) : 
since

3.3

Arguments

component

stringComponent name without the com_ prefix this router should react upon

Response

mixed

build

Generic build function for missing or legacy component router

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

3.3

Arguments

query

array<string|int, mixed>An array of URL arguments

Response

array<string|int, mixed>The URL arguments to use to assemble the subsequent URL.

parse

Generic parse function for missing or legacy component router

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

3.3

Arguments

segments

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

Response

array<string|int, mixed>The URL attributes to be used by the application.

preprocess

Generic preprocess function for missing or legacy component router

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

3.3

Arguments

query

array<string|int, mixed>An associative array of URL arguments

Response

array<string|int, mixed>The URL arguments to use to assemble the subsequent URL.

Properties

component

Name of the component

since

3.3

Type(s)

string