RouterLegacy
Implements RouterInterfaceDefault routing class for missing or legacy component routers
| since |
3.3 |
|---|---|
| deprecated |
5.1 will be removed in 7.0 Will be removed without replacement. Use the class based router implementing the RouterInterface |
| 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